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.
Revision 13:196d7844af97, committed 2017-03-31
- Comitter:
- tsungta
- Date:
- Fri Mar 31 02:47:46 2017 +0000
- Parent:
- 12:7f932ecea853
- Commit message:
- remove mbed_app.json since mbed-os lib is updated to mbed-os-5.4.2
Changed in this revision
mbed-os.lib | Show annotated file Show diff for this revision Revisions of this file |
mbed_app.json | Show diff for this revision Revisions of this file |
diff -r 7f932ecea853 -r 196d7844af97 mbed-os.lib --- a/mbed-os.lib Thu Mar 16 07:05:59 2017 +0000 +++ b/mbed-os.lib Fri Mar 31 02:47:46 2017 +0000 @@ -1,1 +1,1 @@ -https://github.com/ARMmbed/mbed-os/#f4864dc6429e1ff5474111d4e0f6bee36a759b1c +https://github.com/ARMmbed/mbed-os/#50b3418e45484ebf442b88cd935a2d5355402d7d
diff -r 7f932ecea853 -r 196d7844af97 mbed_app.json --- a/mbed_app.json Thu Mar 16 07:05:59 2017 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -{ - "config": { - "lf_clock_rc_calib_timer_interval": { - "value": 16, - "macro_name": "MBED_CONF_NORDIC_NRF_LF_CLOCK_CALIB_TIMER_INTERVAL" - }, - "lf_clock_rc_calib_mode_config": { - "value": 0, - "macro_name": "MBED_CONF_NORDIC_NRF_LF_CLOCK_CALIB_MODE_CONFIG" - } - } -} \ No newline at end of file