A demonstration that uses multiple signals from the main thread

This example shows how to use multiple signals from the main thread in mbed-os.

The sample sets up two Tickers to generate periodic interrupts. Each ticker sets a signal during an interrupt.

osSignalWait(signal, timeout) is used to wait for an event. Set signal to 0 to exit on any signal or set signal to a mask value to only exit if all of the signals are set.

Download repository: zip gz

Files at revision 1:907cf114c40c

Name Size Actions
[up]
main.cpp 1755 Revisions Annotate
mbed-os.lib 77 Revisions Annotate