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.
Diff: RTOS-Threads/src/Task4.cpp
- Revision:
- 34:228d87c45151
- Parent:
- 33:f88a6ee18103
- Child:
- 36:d95e3d6f2fc4
--- a/RTOS-Threads/src/Task4.cpp Mon May 12 13:49:43 2014 +0000 +++ b/RTOS-Threads/src/Task4.cpp Mon May 12 13:55:34 2014 +0000 @@ -17,6 +17,12 @@ bool ESC_check = false; bool calibration_mode = false; + + + +// ================== +// === ESC UPDATE === +// ================== //Timer void Task4(void const *argurment) { @@ -71,9 +77,12 @@ //Timer } -// ======================== -// === Helper functions === -// ======================== + + + +// ************************ +// *** Helper functions *** +// ************************ int constrainESC(float input) { if (input < 1100.0)