You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qmk_firmware/keyboards/handwired/ortho60/hsv2rgb.h

23 lines
380 B

/* hsv2rgb.h
* Convert Hue Saturation Value to Red Green Blue
*
* Programme de convertion d'une information HSV en RGB
*/
#ifndef HSV2RGB_H
#define HSV2RGB_H
typedef struct {
unsigned char h;
unsigned char s;
unsigned char v;
} hsv_color;
typedef struct {
unsigned char r;
unsigned char g;
unsigned char b;
} rgb_color;
rgb_color hsv2rgb(hsv_color hsv);
#endif