add input registration
This commit is contained in:
parent
e3f0bec2fb
commit
f033ce883f
|
@ -8,6 +8,8 @@ void setup()
|
|||
ESP_LOGV("OS", "Initializing ESPMegaPRO");
|
||||
espmega.begin();
|
||||
espmega.inputs.preloadInputBuffer();
|
||||
// Initialize Inputs
|
||||
espmega.inputs.registerCallback(&input_callback);
|
||||
// Initialize IoT Modules
|
||||
ESP_LOGV("OS", "Initializing IoT Modules");
|
||||
espmega.setTimezone("ICT-7");
|
||||
|
|
Loading…
Reference in New Issue