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.
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 |
---|---|---|---|
11:0309bef74ba8 | 2017-02-15 | Revert update to mbed-os. | File Diff Annotate |
10:dc33cd3f4eb9 | 2017-01-12 | Wait times updated; | File Diff Annotate |
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 |