Dimming works

This commit is contained in:
jaseg 2020-08-30 12:17:33 +02:00
parent e51d35f6d6
commit bfd8db0098
4 changed files with 158 additions and 27 deletions

14
color.h Normal file
View file

@ -0,0 +1,14 @@
#ifndef __COLOR_H__
#define __COLOR_H__
struct hsvf {
float h, s, v;
};
struct rgbf {
float r, g, b;
};
void hsv_to_rgb(struct hsvf *hsv_in, struct rgbf *rgb_out);
#endif /* __COLOR_H__ */