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.h
- Revision:
- 105:d7ee57473fdb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/color.h Thu Feb 25 16:54:54 2016 +0000 @@ -0,0 +1,14 @@ +#ifndef COLOR_H +#define COLOR_H +class Color +{ +public: + float r; + float g; + float b; + Color(float red, float green, float blue); + +}; + + +#endif \ No newline at end of file