cannon ball
Dependencies: SerialDriver Servo mbed-rtos mbed
Fork of Nucleo_ServoKnob by
Diff: main.cpp
- Revision:
- 4:14c987860285
- Parent:
- 3:bc919a54f665
diff -r bc919a54f665 -r 14c987860285 main.cpp --- a/main.cpp Tue Apr 07 21:52:02 2015 +0000 +++ b/main.cpp Sun Apr 12 13:29:21 2015 +0000 @@ -69,7 +69,7 @@ steeringUSB = usb.getc(); //writeSteering(steeringUSB); steering.position(steeringUSB - 95); - usb.putc(steeringUSB); + //usb.putc(steeringUSB); //time_data_check_last = time_data_check; //time_data_check = timer.read_ms(); if (DEBUG) { @@ -83,7 +83,7 @@ throttleUSB = usb.getc(); writeThrottle(throttleUSB); - usb.putc(throttleUSB); + //usb.putc(throttleUSB); time_data_check_last = time_data_check; time_data_check = timer.read_ms();