Move ESP-NOW lighting control to lib

This commit is contained in:
Robert Marshall 2022-09-09 10:48:19 +01:00
parent 5b69f482c3
commit 76b8fed961
5 changed files with 33 additions and 34 deletions

View file

@ -0,0 +1,11 @@
#ifndef LightControlPayload_cpp
#define LightControlPayload_cpp
struct LightControlPayload {
int id;
bool on;
float brightness;
unsigned long timer;
};
#endif