Firts
Dependencies: sim5320e MySerial
Revision 2:c66d39cfc26e, committed 2022-05-19
- Comitter:
- schnf30
- Date:
- Thu May 19 05:51:49 2022 +0000
- Parent:
- 1:5fd3200db55e
- Commit message:
- SIM5320E EXEMPLE
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu May 19 05:50:04 2022 +0000 +++ b/main.cpp Thu May 19 05:51:49 2022 +0000 @@ -26,9 +26,10 @@ pc.printf("Efface all SMS : \r\n"); if (Sim5320e.smsclearall()) pc.printf("ok.\r\n"); else pc.printf("Erreur.\r\n"); - pc.printf("Pret envoi un sms : \r\n"); - if (Sim5320e.sendsms("+33XXXXXXX","Bonjour envoi Sms" )) pc.printf("ok.\r\n"); - else pc.printf("erreur.\r\n"); +// ACTIVER CI DESSOUS ET DEFINIR NUM TEL +// pc.printf("Pret envoi un sms : \r\n"); +// if (Sim5320e.sendsms("+33XXXXXXX","Bonjour envoi Sms" )) pc.printf("ok.\r\n"); +// else pc.printf("erreur.\r\n"); // Initialise the digital pin LED1 as an output DigitalOut led(LED1); while (true) {