Polytech Tours - Projet C++ embarqué sur cible mbed
Diff: ColorManager.h
- Revision:
- 0:21e183c9ef81
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ColorManager.h Sun Apr 24 15:43:51 2016 +0000 @@ -0,0 +1,21 @@ +#ifndef COLORMANAGER_H +#define COLORMANAGER_H + +#ifndef COLOR_H +#define COLOR_H +#include "Color.h" +#endif + +#include "mbed.h" +#include <iostream> + +class ColorManager +{ + public : + // Méthodes + void HSVtoRGB(RGB &rgb, HSV &hsv); + void RGBtoHSV(RGB &rgb, HSV &hsv); + Colour_t getColorFromHue(double hue); +}; + +#endif