Sim800l's library can not compile with Arduino due

janamhosein

Distinguished
Mar 11, 2010
4
0
18,510
Hi
I guess that the problem is software serial library, too. However, I don't know how to replace this library for arduino due.
sim800l codes:
C++:
#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
}
Codes must be optimized module for Arduino Due.
Any helps appreciated.