Time is good

Dependencies:   RoboClaw mbed

Fork of Robot2016_2-0 by ARES

Files at this revision

API Documentation at this revision

Comitter:
IceTeam
Date:
Thu May 05 02:11:25 2016 +0200
Parent:
66:47353c8122de
Child:
68:d19988565dfd
Commit message:
Tentative correction bug

Changed in this revision

Functions/func.cpp Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Functions/func.cpp	Wed May 04 23:58:34 2016 +0000
+++ b/Functions/func.cpp	Thu May 05 02:11:25 2016 +0200
@@ -141,7 +141,6 @@
     else SDevant = false;
     if(capt3.read() > SEUIL+0.1) SDroite = true;
     else SDroite = false;
-    logger.printf("%1.3f\t%1.3f\t%1.3f\n\r", capt1.read(), capt2.read(), capt3.read());
 }
 
 void homologation(void)
--- a/main.cpp	Wed May 04 23:58:34 2016 +0000
+++ b/main.cpp	Thu May 05 02:11:25 2016 +0200
@@ -98,12 +98,7 @@
     logger.baud(9600);
     logger.printf("Hello from main !\n\r");
 
-    init_interrupt();
-    goHome();
-
-    SCouleur = VERT;
-    LEDV = 1;
-    LEDR = 0;
+    ControlleurPince.home();
     
     //depart();
     init_interrupt();