test
Dependencies: LM75B Color mbed yeswecancoap Rgb
Diff: lib/color.h
- Revision:
- 2:ba4506b61052
- Parent:
- 1:e0a4afdbbffb
--- a/lib/color.h Fri Oct 23 14:48:16 2015 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-#ifndef COLOR_H
-#define COLOR_H
-
-class Color{
- int red, green, blue;
- int floatToColorValue(float value);
- static const int MAX_COLOR_VALUE=255;
-
- public:
- enum colors {RED=0xFF0000, GREEN=0x00FF00, BLUE=0x0000FF, CYAN=0x00FF00, MAGENTA=0xFF00FF, YELLOW=0x00FFFF, WHITE=0xFFFFFF};
-
- Color(int red, int green, int blue);
- Color(int color);
- Color(float red, float green, float blue);
- int getHex();
- int getRed();
- int getGreen();
- int getBlue();
-
- };
-
-#endif
\ No newline at end of file