Ganti Pin tx rx
Dependencies: Motor PID Joystick_OrdoV5 mbed
Fork of Joystick_ManualV2_hapusSeluruhEncoder by
Diff: JoystickPS3.h
- Revision:
- 18:23412e950394
- Parent:
- 13:8ab42383a2ca
diff -r 703072f5dce1 -r 23412e950394 JoystickPS3.h --- a/JoystickPS3.h Sat Jan 14 08:01:09 2017 +0000 +++ b/JoystickPS3.h Wed Jan 18 10:28:01 2017 +0000 @@ -91,7 +91,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;