![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Update 12 Maret 2017. Tambahan kombinasi tombol
Dependencies: DigitDisplay Motor PID Ping mbed millis
Fork of MainProgram_BaseBaru_20Feb_malam by
Diff: JoystickPS3.h
- Revision:
- 20:54dc93e7b016
- Parent:
- 13:8ab42383a2ca
- Child:
- 32:581d4a2373f0
--- 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(); }