40 this->
trigger(page_id, component_id, touch_event);
void add_new_page_callback(std::function< void(uint8_t)> &&callback)
Add a callback to be notified when the nextion changes pages.
void add_wake_state_callback(std::function< void()> &&callback)
Add a callback to be notified of wake state changes.
void add_setup_state_callback(std::function< void()> &&callback)
Add a callback to be notified when the nextion completes its initialize setup.
void trigger(Ts... x)
Inform the parent automation that the event has triggered.
void add_sleep_state_callback(std::function< void()> &&callback)
Add a callback to be notified of sleep state changes.
WakeTrigger(Nextion *nextion)
PageTrigger(Nextion *nextion)
void add_touch_event_callback(std::function< void(uint8_t, uint8_t, bool)> &&callback)
Add a callback to be notified when Nextion has a touch event.
SleepTrigger(Nextion *nextion)
Implementation of SPI Controller mode.
SetupTrigger(Nextion *nextion)
TouchTrigger(Nextion *nextion)