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: mbed
Diff: main.cpp
- Revision:
- 10:efa507ba2b35
- Parent:
- 9:2113adf37c66
- Child:
- 11:e8c4a1c6553d
- Child:
- 13:9c62e263f245
--- a/main.cpp Thu May 23 15:37:33 2019 +0000 +++ b/main.cpp Thu May 23 21:26:08 2019 +0000 @@ -1,19 +1,28 @@ #include "mbed.h" #include "CAN_asser.h" -#include "Deplacement.h" +#include "Robot.h" + +/*//Bonus fin de partie +PwmOut bonus(PA_10); -void automate_test(Deplacement& R); +//Disquette +PwmOut Servo_Ballon(PB_7); +PwmOut Mot_Ballon(PB_6);*/ + + +void automate_test(Robot& R); + int main(void) { - Deplacement robot; + Robot robot; while(1) automate_test(robot); - } -void automate_test(Deplacement& R) + +void automate_test(Robot& R) { typedef enum {AVANCE, TOURNE} type_etat; static type_etat etat = AVANCE;