*** Fonctionne *** sur appui bouton: allumage led plus envoi message FFFF extinction led plus envoi message 0000

Dependencies:   DebouncedInterrupt mbed

Files at this revision

API Documentation at this revision

Comitter:
regimbal
Date:
Mon Apr 21 22:46:48 2014 +0000
Parent:
1:03feb0de7f83
Commit message:
fonction sortie du callback valid?e

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 03feb0de7f83 -r 2f56bf215c89 main.cpp
--- a/main.cpp	Fri Apr 18 13:23:51 2014 +0000
+++ b/main.cpp	Mon Apr 21 22:46:48 2014 +0000
@@ -19,11 +19,11 @@
     etat = !etat;
     if (etat == true) {
         myled = 1;
-        sigfox.printf("AT$ss=1111\r\n");
+        sigfox.printf("AT$ss=FFFF\r\n"); // code pour recevoir "allume" sur le POC Radhius
         }
     else {
         myled = 0;
-        sigfox.printf("AT$ss=0000\r\n");
+        sigfox.printf("AT$ss=0000\r\n"); // code pour recevoir "eteint" sur le POC Radhius
         }
 }