15 #include "NexVariable.h"
24 String cmd = String(
"get ");
27 sendCommand(cmd.c_str());
28 return recvRetNumber(number);
36 utoa(number, buf, 10);
41 sendCommand(cmd.c_str());
42 return recvRetCommandFinished();
51 sendCommand(cmd.c_str());
52 return recvRetString(buffer,len);
62 sendCommand(cmd.c_str());
63 return recvRetCommandFinished();
bool setValue(uint32_t number)
Set val attribute of component.
bool setText(const char *buffer)
Set text attribute of component.
uint32_t getText(char *buffer, uint32_t len)
Get text attribute of component.
uint32_t getValue(uint32_t *number)
Get val attribute of component.
NexVariable(uint8_t pid, uint8_t cid, const char *name)
Constructor.
Father class of the components with touch events.