Add moodlight brightness

This commit is contained in:
fvanroie 2021-05-11 01:33:54 +02:00
parent 5a847f0da2
commit da9edfa8fa

View File

@ -11,6 +11,13 @@ struct dispatch_conf_t
uint16_t teleperiod;
};
struct moodlight_t
{
uint8_t brightness;
uint8_t power;
uint8_t r, g, b;
};
enum hasp_event_t { // even = released, odd = pressed
HASP_EVENT_OFF = 0,
HASP_EVENT_ON = 1,