vittorioexp / Sim800L-Arduino-Library-revised

The SIM800L Arduino Library is a simple and easy-to-use library for the SIM800L module, allowing for quick and efficient communication with the module using the Arduino platform.
GNU General Public License v3.0
101 stars 46 forks source link

fatal error: SoftwareSerial.h: No such file or directory #33

Open akama-aka opened 6 months ago

akama-aka commented 6 months ago

Hello I've the following Code:

#include <SoftwareSerial.hpp>
#include <Sim800L.h>
#define RX 15
#define TX 14
Sim800L GSM(RX, TX);

void setup(){
Serial.begin(9600);
GSM.begin(9600);
Serial.println("GET PRODUCT INFO: ");
Serial.println(GSM.getProductInfo());
}
void loop(){
}

but I get everytime this error:

In file included from /tmp/sketch_jan10a/sketch_jan10a.ino:1:0:
/home/slush/Arduino/libraries/Sim800L_Library_Revised/Sim800L.h:62:10: fatal error: SoftwareSerial.h: No such file or directory
 #include <SoftwareSerial.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
Multiple libraries were found for "Sim800L.h"
 Used: /home/slush/Arduino/libraries/Sim800L_Library_Revised
 Not used: /home/slush/Arduino/libraries/Sim800L-Arduino-Library-revised-1.1.9
exit status 1
Error compiling for board Raspberry Pi Pico.

Someone know how I can fix that