FRC_equipe1 / Mbed 2 deprecated FRC_2019

Dependencies:   mbed

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;