Multiple thread example based on mbed-os
Fork of rtos_basic by
This is a very basic of RTOS thread example using mbed-os. In this example, LED1 and LED2 are toggling with the interval of 500ms and 1000ms respectively. LED1 blinking is running in the while in main, meantime LED2 blinking is running in a thread. This shows how task(s) can operate independently.
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
9:dd58814e2dcf | 2017-01-12 | Thread::wait is deprecated | File Diff Annotate |
8:c1e1db61aee7 | 2017-01-12 | Updating to mbed OS | File Diff Annotate |
7:8d9919175929 | 2016-11-22 | Update to use start function | File Diff Annotate |
3:c92e21f305d8 | 2012-11-23 | Update to latest mbed and rtos libraries | File Diff Annotate |
1:491820ee784d | 2012-07-12 | First implementation of the rtos_basic test | File Diff Annotate |
0:b7777a15fb91 | 2012-07-12 | Empty template for rtos_basic example | File Diff Annotate |