32 void buttonUpPopCallback(
void *ptr)
35 dbSerialPrintln(
"buttonUpPopCallback");
47 void buttonDownPopCallback(
void *ptr)
50 dbSerialPrintln(
"buttonDownPopCallback");
68 btn_down.
attachPop(buttonDownPopCallback);
69 dbSerialPrintln(
"setup done");
void nexLoop(NexTouch *nex_listen_list[])
Listen touch event and calling callbacks attached before.
void attachPop(NexTouchEventCb pop, void *ptr=NULL)
Attach an callback function of pop touch event.
bool setValue(uint32_t number)
Set the value of gauge.
bool nexInit(void)
Init Nextion.
bool getValue(uint32_t *number)
Get the value of gauge.
The header file including all other header files provided by this library.
Father class of the components with touch events.