16 #include "NexPointer.h"
30 void buttonUpPopCallback(
void *ptr)
33 dbSerialPrintln(
"buttonUpPopCallback");
45 void buttonDownPopCallback(
void *ptr)
48 dbSerialPrintln(
"buttonDownPopCallback");
67 btn_down.
attachPop(buttonDownPopCallback);
68 dbSerialPrintln(
"setup done");
bool nexInit(void)
Init Nextion's baudrate,page id.
bool getValue(uint32_t *number)
Get the value of pointer.
NexPointer,subclass of NexTouch,provides simple methods to control pointer component.
bool nexLoop(NexTouch **nex_listen_list)
Call mainEventLoop,watting for Nextion's touch event.
bool setValue(uint32_t number)
Set the value of pointer.
Root Class of Nextion Components.