Synchronize two tasks by the help of an event signal. Thread2 changes the state of LED1 when an event flag arrives. Thread1 (the main thread) sends event flags at reguar intervals.

Dependencies:   mbed-rtos mbed

mbed-rtos.lib

Committer:
icserny
Date:
2016-02-23
Revision:
0:e2662deac7e9

File content as of revision 0:e2662deac7e9:

http://mbed.org/users/mbed_official/code/mbed-rtos/#07314541bd12