Pakai akselerasi
Dependencies: DigitDisplay Motor PID Ping mbed millis
Fork of MainProgram_BaseBaru_fix_omni_5April_23-04 by
Diff: JoystickPS3.h
- Revision:
- 20:54dc93e7b016
- Parent:
- 13:8ab42383a2ca
- Child:
- 32:581d4a2373f0
diff -r 38f148ce00f0 -r 54dc93e7b016 JoystickPS3.h --- a/JoystickPS3.h Fri Jan 27 16:27:56 2017 +0000 +++ b/JoystickPS3.h Sat Jan 28 04:33:39 2017 +0000 @@ -8,8 +8,6 @@ Serial debug(USBTX,USBRX); - - namespace JoystickPS3 { class joysticknucleo { @@ -143,7 +141,6 @@ } - /*********************************************************************************************/ /** **/ /** FUNGSI PEMBACAAN DATA **/ @@ -186,12 +183,11 @@ } else { idle(); } // Indikator - Print data pada monitor PC - // debug.printf("%2x %2x %2x %2x %3d %3d %3d %3d %3d %3d\n\r",button, RL, button_click, RL_click, R2, L2, RX, RY, LX, LY); + // debug.printf("%2x %2x %2x %2x %3d %3d %3d %3d %3d %3d\n\r",button, RL, button_click, RL_click, R2, L2, RX, RY, LX, LY); } } - - + int readable(){ return _serial.readable(); }