Capteur_US

Dependencies:   mbed DRV8825

Revision:
6:ea6b30c4bb01
Parent:
5:34ed652f8c31
Child:
8:eb9bbab312ff
--- a/debugPC.cpp	Tue Jul 21 19:33:38 2020 +0000
+++ b/debugPC.cpp	Sun Jul 26 09:24:31 2020 +0000
@@ -290,9 +290,9 @@
 
 void affCodeurs()
 {
-    if(aff_cd[0]) pc.printf("CdgA = %d\n\r", cpt_cdgA);
-    //if(aff_cd[1]) pc.printf("CdgB = %d\n\r", cpt_cdgB);
+    if(aff_cd[0]) pc.printf("comptG = %d\n\r", comptG);
+    if(aff_cd[1]) pc.printf("comptD = %d\n\r", comptD);
 
-    if(aff_cd[0]) bt.printf("CdgA = %d\n\r", cpt_cdgA);
-    //if(aff_cd[1]) bt.printf("CdgB = %d\n\r", cpt_cdgB);
+    if(aff_cd[0]) bt.printf("comptG = %d\n\r", comptG);
+    if(aff_cd[1]) bt.printf("comptD = %d\n\r", comptD);
 }