Capteur_US

Dependencies:   mbed DRV8825

Revision:
13:a72b0752aa6f
Parent:
12:2c312916a621
Child:
14:dd3c756c6d48
diff -r 2c312916a621 -r a72b0752aa6f main.cpp
--- a/main.cpp	Fri Sep 11 13:47:56 2020 +0000
+++ b/main.cpp	Fri Sep 11 14:15:57 2020 +0000
@@ -29,9 +29,9 @@
 
     //ticker_US.attach(&captUS_trig,0.2); // On apelle cette fonction toutes 0.2 secondes
     //ticker_affUS.attach(&affUltrasons,1.0);
-    ticker_affcd.attach(&affCodeurs,1.0);
+    //ticker_affcd.attach(&affCodeurs,1.0);
     //tickTest.attach(&test4,0.1);
-    ticker_odo.attach(&odometrie,0.2); 
+    ticker_odo.attach(&odometrie,0.02); 
     ticker_affodo.attach(&affOdo,1);
 
     // Init capteurs à ultrasons