mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 05:36:37 +00:00
Add ColorToHaspPayload
This commit is contained in:
parent
9816e0b3d3
commit
945ce73a76
@ -9,6 +9,7 @@
|
|||||||
class Parser {
|
class Parser {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
static void ColorToHaspPayload(lv_color_t color, char* payload, size_t len);
|
||||||
static bool haspPayloadToColor(const char* payload, lv_color32_t& color);
|
static bool haspPayloadToColor(const char* payload, lv_color32_t& color);
|
||||||
static bool get_event_state(uint8_t eventid);
|
static bool get_event_state(uint8_t eventid);
|
||||||
static void get_event_name(uint8_t eventid, char* buffer, size_t size);
|
static void get_event_name(uint8_t eventid, char* buffer, size_t size);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user