30 void buttonUpPopCallback(
void *ptr)
33 dbSerialPrintln(
"buttonUpPopCallback");
45 void buttonDownPopCallback(
void *ptr)
48 dbSerialPrintln(
"buttonDownPopCallback");
66 btn_down.
attachPop(buttonDownPopCallback);
67 dbSerialPrintln(
"setup done");
void nexLoop(NexTouch *nex_listen_list[])
Listen touch event and calling callbacks attached before.
bool setValue(uint32_t number)
Set the value of progress bar.
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.
bool getValue(uint32_t *number)
Get the value of progress bar.
Father class of the components with touch events.
NexProgressBar component.