Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: CRAC-Strat_2019 SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac
Dependents: Codeprincipal_2019 CRAC-Strat_2019
Diff: Robots/Strategie_small.cpp
- Revision:
- 52:a47350923b5e
- Parent:
- 50:a5361ffeefc8
- Child:
- 53:e96acb11a51f
--- a/Robots/Strategie_small.cpp Sat May 18 16:54:06 2019 +0000 +++ b/Robots/Strategie_small.cpp Tue May 21 14:38:09 2019 +0000 @@ -68,6 +68,23 @@ case 113: //sol arriere relache SendRawId(SOL_ARRIERE_RELACHE); break; + case 114: + SendRawId(AVANT_RELACHE); + break; + + case 115: + SendRawId(ARRIERE_RELACHE); + break; + + case 116: + unsigned char arg_tempo=(unsigned char)arg1; + SendMsgCan(HACHEUR_RELEASE_ATOM, &arg_tempo,1); + waitingAckFrom = 0; + waitingAckID =0; + break; + case 117: + SendRawId(RECROQUEVILLER); + break; case 150: SCORE_PR+=arg1; @@ -104,7 +121,7 @@ break; case 22://Changer la vitesse du robot - // SendSpeed(arg1,(unsigned short)arg2); + // SendSpeed(arg1,(unsigned short)arg2); wait_us(200); waitingAckFrom = 0; waitingAckID = 0;