DEMONSTRATION OF SIGNAL (EVENT & FLAG) in MBED RTOS. One Thread set particular signal and another thread receive it and proceed according signal state.

Revision:
1:9dbbb3022957
Parent:
0:747de80ae2bd
--- a/main.cpp	Wed Aug 05 07:15:14 2020 +0000
+++ b/main.cpp	Wed Aug 05 07:37:47 2020 +0000
@@ -29,7 +29,7 @@
 
 //TASK which is related to signal 
 void onBoard_led() {
-    uint32_t read = 0;
+    uint32_t read = 0;  //CREATE VARIABLE TO STORE DATA
     while (true) {
         // Signal flags that are reported as event are automatically cleared -Autonomous object of Kernal