Programme carte strategie (disco)

Dependencies:   mbed SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac

Revision:
25:f140c93a8666
Parent:
23:ab87d308eaf9
Child:
26:2f4fcc2354f3
--- a/Robots/Strategie_big.cpp	Thu May 25 17:17:42 2017 +0000
+++ b/Robots/Strategie_big.cpp	Fri May 26 01:27:49 2017 +0000
@@ -311,7 +311,7 @@
                 if (speed == BRAS_AVANT) speed = BRAS_ARRIERE;
                 else speed = BRAS_AVANT;
             }
-            if (speed == BRAS_AVANT)localData = 0xA0;
+            if (speed == BRAS_AVANT)localData = 0x0A;
             else localData = 0x1E; 
             
             msgTx.data[0]=localData;
@@ -364,7 +364,7 @@
             }
             
             msgTx.data[0]=localData;
-            msgTx.data[1]=speed;
+            msgTx.data[1]=localData2;
             can1.write(msgTx);
         break;