Move ESP-NOW lighting control to lib
This commit is contained in:
parent
5b69f482c3
commit
76b8fed961
5 changed files with 33 additions and 34 deletions
11
lib/EspNowLightControl/LightControlPayload.cpp
Normal file
11
lib/EspNowLightControl/LightControlPayload.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
#ifndef LightControlPayload_cpp
|
||||
#define LightControlPayload_cpp
|
||||
|
||||
struct LightControlPayload {
|
||||
int id;
|
||||
bool on;
|
||||
float brightness;
|
||||
unsigned long timer;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue