terbaru baru

Dependencies:   DigitDisplay Motor PID Ping mbed millis

Fork of MainProgram_BaseBaru_20Feb_terbaru by KRAI 2017

Files at this revision

API Documentation at this revision

Comitter:
gustavaditya
Date:
Thu Mar 09 13:39:13 2017 +0000
Parent:
43:5e347df94a26
Commit message:
terbaru baru

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 5e347df94a26 -r 39aff14649e8 main.cpp
--- a/main.cpp	Thu Mar 09 13:06:30 2017 +0000
+++ b/main.cpp	Thu Mar 09 13:39:13 2017 +0000
@@ -423,10 +423,10 @@
         else if(!limitTengah){
             isReload = true;
         }
-        else if((jarak_ping > 3.8) && !flag_Pneu){
+        else if((jarak_ping > 4.9) && !flag_Pneu){
             powerScrew.speed(pwmPowerUp);
         }
-        else if((jarak_ping < 3.3 ) && !flag_Pneu) {
+        else if((jarak_ping < 4.4 ) && !flag_Pneu) {
             powerScrew.speed(-0.1);
         }
         else{