Programme carte strategie (disco)

Dependencies:   mbed SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac

Revision:
28:acd18776ed2d
Parent:
21:590cdacb6a35
Child:
29:41e02746041d
--- a/Robots/Strategie_small.cpp	Fri May 26 19:01:56 2017 +0000
+++ b/Robots/Strategie_small.cpp	Sat May 27 05:40:26 2017 +0000
@@ -178,6 +178,15 @@
         case 22://Changer la vitesse du robot
             SendSpeed(speed,(unsigned short)angle);
             wait_us(200);
+            waitingAckFrom = 0;
+            waitingAckID = 0;
+        break;
+        
+        case 19: // CHANGER LA VITESSE + DECELERATION 
+            SendSpeedDecel(speed,(unsigned short) angle);
+            wait_us(200);
+            waitingAckFrom = 0;
+            waitingAckID =0;
         break;
         
         case 30://Action tempo