Sim800L's library can not compile on Arduino Due. Is there any way to create a library for Arduino Due?
#include <Sim800l.h>
#include <SoftwareSerial.h>
Sim800l Sim800l;
char* text;
char* number;
bool error;
void setup(){
Sim800l.begin();
text = "Testing Sms";
number = "2926451386";
error = Sim800l.sendSms(number,text);
// OR
//Sim800l.sendSms("+540111111111","the text go here")
}
void loop(){
//do nothing
}
I guess that the problem is the software serial library, too. However, I don't know how to replace this library for Arduino Due.
Any help appreciated.