Basic remote off switch for lighting
This commit is contained in:
parent
d0ee5cd752
commit
06dd03ea45
8 changed files with 159 additions and 0 deletions
17
lighting-remote/src/main.cpp
Normal file
17
lighting-remote/src/main.cpp
Normal file
|
@ -0,0 +1,17 @@
|
|||
#include <Arduino.h>
|
||||
#include "EspNowControl.cpp"
|
||||
|
||||
EspNowControl _control;
|
||||
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
|
||||
_control.init();
|
||||
_control.send();
|
||||
|
||||
esp_deep_sleep_start();
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue