Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: USBHost USBHostXpad mbed-rtos mbed
Diff: main.cpp
- Revision:
- 1:3bae10d2507c
- Parent:
- 0:79485480cd7e
- Child:
- 2:5e870c215495
--- a/main.cpp Thu Nov 13 23:20:02 2014 +0000
+++ b/main.cpp Thu Nov 13 23:29:03 2014 +0000
@@ -16,7 +16,7 @@
Xbox360ControllerState controlState;
Traxster tank(robotCom);
-
+//comment added
void onControlInput(int buttons, int stick_lx, int stick_ly, int stick_rx, int stick_ry, int trigger_l, int trigger_r){
pc.printf("buttons: %04x Lstick X,Y: %-5d, %-5d Rstick X,Y: %-5d, %-5d LTrig: %02x (%d) RTrig: %02x (%d)\n", buttons, stick_lx, stick_ly, stick_rx, stick_ry, trigger_l,trigger_l, trigger_r,trigger_r);
