25 String cmd = String(
"get ");
28 sendCommand(cmd.c_str());
29 return recvRetNumber(number);
37 utoa(number, buf, 10);
42 sendCommand(cmd.c_str());
43 return recvRetCommandFinished();
bool setValue(uint32_t number)
Set the value of gauge.
NexGauge(uint8_t pid, uint8_t cid, const char *name)
Constructor.
The definition of class NexGauge.
bool getValue(uint32_t *number)
Get the value of gauge.
Root class of all Nextion components.