1 #include "NexPointer.h"
22 String cmd = String(
"get ");
42 utoa(number, buf, 10);
bool getValue(uint32_t *number)
Get the value of pointer.
static void sendCommand(const char *cmd)
Send command to Nextion.
const char * getObjName(void)
Get component name.
static bool recvRetNumber(uint32_t *number, uint32_t timeout=500)
Receive uint32_t data.
NexPointer(NexPid pid, NexCid cid, char *name)
Constructor,inherited NexTouch's constructor function.
bool setValue(uint32_t number)
Set the value of pointer.
static bool recvRetCommandFinished(uint32_t timeout=100)
Command is executed successfully.
Root Class of Nextion Components.