Multiple thread example based on mbed-os

Fork of rtos_basic by mbed official

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
Parent:
12:7f932ecea853
--- 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