![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
All tasks complete
Dependencies: mbed MCP23017 mbed-rtos WattBob_TextLCD
Diff: assignment3tasks.cpp
- Revision:
- 17:6b4d94f9c77a
- Parent:
- 13:822b0e56ea68
- Child:
- 18:65c51c80a165
--- a/assignment3tasks.cpp Wed Mar 27 16:05:51 2019 +0000 +++ b/assignment3tasks.cpp Wed Apr 03 14:52:07 2019 +0000 @@ -347,8 +347,8 @@ speedXS.lock(); PC.printf("SPEED: %.1f\r\n",speed.rawspeed); - PC.printf("BRAKE: %.1f\r\n",speed.brakevalue); - PC.printf("ACCELEROMETER: %.1f\r\n",speed.accelvalue); + PC.printf("BRAKE: %.2f\r\n",speed.brakevalue); + PC.printf("ACCELEROMETER: %.2f\r\n",speed.accelvalue); speedXS.unlock();