Example code displaying how to use and implement the mbed RTOS along with a simple state machine used to capture button presses.
Fork of mbed-rtos by
Diff: rtos/Semaphore.cpp
- Revision:
- 36:512640f00564
- Parent:
- 35:b8555a5966f6
- Child:
- 40:bd07334df5b1
--- a/rtos/Semaphore.cpp Tue Jul 08 11:15:19 2014 +0100 +++ b/rtos/Semaphore.cpp Tue Jul 08 14:15:17 2014 +0100 @@ -22,6 +22,7 @@ #include "Semaphore.h" #include <string.h> +#include "error.h" namespace rtos {