qmk-keychron-q3-colemak-dh/keyboards/handwired/ortho60/hsv2rgb.h
Andrew Kannan 20e134e681 Keyboard: Adding ortho60 to handwired (#4672)
* Adding ortho60 to handwired

* update to use LAYOUT_ortho_5x12

* Address PR comments about layout macros

* Add default layout to info.json for configurator

* Hack to xyverz layout until RGB branch is merged

* Fix undef RGBDIPIN in xyverz 12x5 layout

* Revert change to xvyerz's layout

* Fix typo

* Fix order

* Revert xyverz rules.mk
2018-12-18 08:26:43 -08:00

23 lines
380 B
C

/* 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