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: mbed-dsp
Fork of mbed-os-example-blinky by
Diff: main.cpp
- Revision:
- 47:b9abb45fde85
- Parent:
- 46:5ad0d78d045e
- Child:
- 48:d147eba868c8
--- a/main.cpp Wed Mar 29 15:47:30 2017 +0000 +++ b/main.cpp Wed Mar 29 15:50:15 2017 +0000 @@ -4,13 +4,13 @@ // State machine int STATE; -const int NONE = -1; +//const int NONE = -1; const int IDLE_LISTEN = 0; const int CALC_DELTA_T = 1; const int CALC_DELTA_S = 2; const int CALC_DELTA_PHI = 3; const int SEND = 4; -const int WAIT = 9; +//const int WAIT = 9; // main() runs in its own thread in the OS int main() { @@ -20,7 +20,7 @@ case IDLE_LISTEN: //code here - STATE = CALC_DELTA_T + STATE = CALC_DELTA_T; break; case CALC_DELTA_T: