Skip to content

Commit fd1d160

Browse files
author
Cruz Monrreal
authored
Merge pull request #8 from fkjagodzinski/docs_update-eventflags-2
Add a short description of the EventFlags example
2 parents 82b48b3 + 1969829 commit fd1d160

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

EventFlags/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
# EventFlags example
22

33
EventFlags usage example for Mbed OS.
4+
5+
This is an example showing a basic usage of `EventFlags` class. One thread is
6+
waiting for either of the two defined flags to be set. The second thread is
7+
periodically setting the flags.
8+
9+
Note that the `wait_any()` method is also used to clear the flags.

0 commit comments

Comments
 (0)