Programme carte strategie (disco)
Dependencies: mbed SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac
Diff: Robots/Strategie_big.cpp
- Revision:
- 28:acd18776ed2d
- Parent:
- 26:2f4fcc2354f3
- Child:
- 29:41e02746041d
diff -r 76ead555a63d -r acd18776ed2d Robots/Strategie_big.cpp --- a/Robots/Strategie_big.cpp Fri May 26 19:01:56 2017 +0000 +++ b/Robots/Strategie_big.cpp Sat May 27 05:40:26 2017 +0000 @@ -452,6 +452,8 @@ msgTx.data[0]=1; msgTx.data[1]=BRAS_AVANT; can1.write(msgTx); + waitingAckFrom = 0; + waitingAckID = 0; break; case 133: // stop turbine @@ -462,6 +464,8 @@ msgTx.data[0]=0; msgTx.data[1]=BRAS_AVANT; can1.write(msgTx); + waitingAckFrom = 0; + waitingAckID = 0; break; case 140:// lanceur ON