29 void hot0PushCallback(
void *ptr)
31 dbSerialPrintln(
"hot0PushCallback");
32 dbSerialPrint(
"ptr=");
33 dbSerialPrintln((uint32_t)ptr);
36 void hot1PushCallback(
void *ptr)
38 dbSerialPrintln(
"hot1PushCallback");
39 dbSerialPrint(
"ptr=");
40 dbSerialPrintln((uint32_t)ptr);
43 void hot0PopCallback(
void *ptr)
45 dbSerialPrintln(
"hot0PopCallback");
46 dbSerialPrint(
"ptr=");
47 dbSerialPrintln((uint32_t)ptr);
50 void hot1PopCallback(
void *ptr)
52 dbSerialPrintln(
"hot1PopCallback");
53 dbSerialPrint(
"ptr=");
54 dbSerialPrintln((uint32_t)ptr);
64 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 nexInit(void)
Init Nextion.
The header file including all other header files provided by this library.
Father class of the components with touch events.
void attachPush(NexTouchEventCb push, void *ptr=NULL)
Attach an callback function of push touch event.