Fork de Timer après le match à 61 points

Dependencies:   RoboClaw mbed

Fork of Timer by ARES

Revision:
68:d19988565dfd
Parent:
67:244bc1cc6678
Child:
69:1b257fb65281
diff -r 244bc1cc6678 -r d19988565dfd main.cpp
--- a/main.cpp	Thu May 05 02:11:25 2016 +0200
+++ b/main.cpp	Thu May 05 00:41:18 2016 +0000
@@ -98,11 +98,14 @@
     logger.baud(9600);
     logger.printf("Hello from main !\n\r");
 
-    ControlleurPince.home();
+    controlleurPince.home();
     
     //depart();
     init_interrupt();
     wait_ms(1);
+    while (CAMP == 0);
+    while (CAMP == 1);
+    
     //while(START==0);
     logger.printf("End init\n\r");
 }