![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Remote control code for https://developer.mbed.org/users/ivo_david_michelle/code/QuadTrio/
Dependencies: Analog_Joystick Sender mbed
Fork of ESE350-Whack-a-Mole by
Diff: rc.cpp
- Revision:
- 6:db985df4354b
- Parent:
- 5:3ad830e95ffd
- Child:
- 7:8714628b62e5
--- a/rc.cpp Mon Mar 28 23:18:26 2016 +0000 +++ b/rc.cpp Thu Mar 31 19:26:48 2016 +0000 @@ -63,13 +63,14 @@ return 0; } - int count = 15; + int count = 25; while (count > 0) { count--; - pc.printf("yaw: %d\r\n", read_yaw()); - pc.printf("pitch: %d\r\n", read_pitch()); - pc.printf("roll: %d\r\n", read_roll()); - pc.printf("thrust: %d\r\n", read_thrust()); + + pc.printf("yaw: %f\r\n", read_yaw()); + pc.printf("pitch: %f\r\n", read_pitch()); + pc.printf("roll: %f\r\n", read_roll()); + pc.printf("thrust: %f\r\n", read_thrust()); wait(0.2); }