carte_strategie_2019
Dependencies: mbed SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac
Diff: Robots/Strategie_big.cpp
- Revision:
- 41:b029ddc4d60e
- Parent:
- 40:21bb685b553b
- Child:
- 56:95c329e42200
diff -r 21bb685b553b -r b029ddc4d60e Robots/Strategie_big.cpp --- a/Robots/Strategie_big.cpp Thu May 10 18:49:25 2018 +0000 +++ b/Robots/Strategie_big.cpp Fri May 11 12:09:26 2018 +0000 @@ -70,6 +70,7 @@ msgTx.data[3]=var1; msgTx.data[4]=var2; can2.write(msgTx); + break; case 108: SendRawId(INTER_BAISSER_ATTRAPE_BLOC_AvG); break; @@ -82,7 +83,12 @@ case 112: SendRawId(RANGER_ATTRAPE_BLOC_AvG); break; - + case 113: + msgTx.id=LIRE_PANNEAU; + msgTx.len=1; + msgTx.data[0]=var1; + can2.write(msgTx); + break; case 150: SCORE_GR+=var1;