Update 18 Februari 2017, PID laucnher dan Base sudah diperbarui

Dependencies:   Motor PID Joystick_OrdoV5 mbed millis

Fork of MainProgram_BaseBaru_otomatis-reloader by KRAI 2017

Revision:
19:38f148ce00f0
Parent:
18:1da121ddb7c1
Child:
20:54dc93e7b016
diff -r 1da121ddb7c1 -r 38f148ce00f0 main.cpp
--- a/main.cpp	Fri Jan 27 16:20:44 2017 +0000
+++ b/main.cpp	Fri Jan 27 16:27:56 2017 +0000
@@ -339,14 +339,14 @@
             }
             case (9) :{   
             // Kanan
-                if (case_ger == caseSebelum) XT = XT + PERPINDAHAN;
+                if (case_ger != caseSebelum) XT = XT + PERPINDAHAN;
                 
 
             break;
             }
             case (10) :{  
             // Kiri 
-                if (case_ger == caseSebelum) XT = XT - PERPINDAHAN;
+                if (case_ger != caseSebelum) XT = XT - PERPINDAHAN;
                 
             break;
             }