Skip to content

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

Open
@akama-aka

Description

@akama-aka

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions