NeoNextion
NeoNextion copied to clipboard
Added wake-up event managing
I added 2 methods to Nextion.h/.cpp:
ActivateWakeEvent(uint8_t page_id, uint8_t component_id);
This method permits to execute a callback handler attached to component_id in page_id when the display wakes up after sleep.
DeActivateWakeEvent();
This method stops to execute callback described above (so wake-up after sleep send no event to code).