Capteur_US

Dependencies:   mbed DRV8825

Revision:
2:094c09903a9c
Parent:
1:2fe8c402ee79
Child:
3:3ba377aafdfd
diff -r 2fe8c402ee79 -r 094c09903a9c main.cpp
--- a/main.cpp	Wed Jul 08 20:42:19 2020 +0000
+++ b/main.cpp	Thu Jul 09 21:03:01 2020 +0000
@@ -27,7 +27,7 @@
     
     // Init codeurs 
     cdgA.rise(&cdgaRise);
-    cdgB.rise(&cdgbRise);
+    //cdgB.rise(&cdgbRise);
     cdgA.mode(PullUp);
     cdgB.mode(PullUp);
     
@@ -36,7 +36,6 @@
     ticker_affUS.attach(&affUltrasons,1.0);
     ticker_affcd.attach(&affCodeurs,1.0);
     aff_cd[0]=!aff_cd[0];
-    aff_cd[1]=!aff_cd[1];
     
     while(1) {}
 }