...

Dependencies:   mbed

Revision:
6:5f7df5c74a77
Parent:
4:78a9354fcee8
Child:
7:24a3fa0f912a
--- a/main.cpp	Mon May 29 16:52:08 2017 +0000
+++ b/main.cpp	Wed May 31 08:48:23 2017 +0000
@@ -39,7 +39,7 @@
                     etat=1;
                     stopMotor();
                 }
-                if(t2.read()>4) {
+                if(t2.read()>2.5) {
                     etat=0;
                 }
                 break;