dzdzd

Dependencies:   XBeeLib mbed-rtos mbed

Files at this revision

API Documentation at this revision

Comitter:
pierreblouet
Date:
Sun Nov 11 21:56:12 2018 +0000
Parent:
18:a302b82c4357
Commit message:
led qui clignote;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r a302b82c4357 -r 9f6297cdd07a main.cpp
--- a/main.cpp	Sun Nov 11 21:13:34 2018 +0000
+++ b/main.cpp	Sun Nov 11 21:56:12 2018 +0000
@@ -141,9 +141,13 @@
         /////////////////////////////////////////////
         if(i==10){
             send_explicit_data_to_remote_node(xbee, remoteDevice,1);
+            feux_gauche_rouge = 0;
+            feux_gauche_vert = 1;
             }
         if(i==20){
             send_explicit_data_to_remote_node(xbee, remoteDevice,0);
+            feux_gauche_rouge = 1;
+            feux_gauche_vert = 0;
             i=0;
             }
         ////////////////////////////////////////////