Kodingan 5 April setting kecepatan power screw
Dependencies: DigitDisplay Motor PID Ping mbed millis
Fork of MainProgram_BaseBaru_fix_omni12Feb by
Diff: JoystickPS3.h
- Revision:
- 32:581d4a2373f0
- Parent:
- 20:54dc93e7b016
diff -r d5cbda07fd95 -r 581d4a2373f0 JoystickPS3.h --- a/JoystickPS3.h Mon Feb 13 12:03:37 2017 +0000 +++ b/JoystickPS3.h Mon Feb 13 13:49:50 2017 +0000 @@ -89,7 +89,7 @@ R2_click = false; } if (L2 > 100) { - if ( R2sebelum) { L2_click = false; + if ( L2sebelum) { L2_click = false; } else { L2_click = true;} L2sebelum = true; }else { L2sebelum = false;