![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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: color.cpp
- Revision:
- 105:d7ee57473fdb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/color.cpp Thu Feb 25 16:54:54 2016 +0000 @@ -0,0 +1,9 @@ +#include "color.h" + +Color::Color(float red, float green, float blue) +{ + r = red; + g = green; + b = blue; +}; +