#include <DFRobot_sim808.h>
char PHONE_NUMBER[] = "0619130902"; //Mobile phone number,need to change
char MESSAGE[] = "Test"; //The content of messages sent
DFRobot_SIM808 sim808(&Serial);
void setup() {
Serial.begin(9600);
while (!sim808.init()) {
Serial.print(".");
delay(1000);
}
Serial.println("\nSim808 init success");
Serial.println("Start to send message ...");
sim808.sendSMS(PHONE_NUMBER, MESSAGE);
}
void loop() {}