TP_presa

Dependencies:   SRF08 Servo mbed

Revision:
9:53a6a4e0db9f
Parent:
8:ea8db9aacdfb
Child:
10:cf2719d4b93f
diff -r ea8db9aacdfb -r 53a6a4e0db9f main.cpp
--- a/main.cpp	Mon Jul 03 09:04:23 2017 +0000
+++ b/main.cpp	Mon Jul 03 09:06:53 2017 +0000
@@ -23,7 +23,6 @@
 void act()
 {
     action=bth.getc();
-    bState = 0;  
     switch(action) {
         case 'a':
             bth.printf("avancer\n\r");
@@ -59,7 +58,7 @@
             break;
         case 'o':
             bState = !bState;
-            iState = 0;
+            //iState = 0;
             break;
     }
     action='0';