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();
52 sendCommand(cmd.c_str());
53 return recvRetNumber(number);
61 utoa(number, buf, 10);
65 sendCommand(cmd.c_str());
70 sendCommand(cmd.c_str());
71 return recvRetCommandFinished();
80 sendCommand(cmd.c_str());
81 return recvRetNumber(number);
89 utoa(number, buf, 10);
93 sendCommand(cmd.c_str());
98 sendCommand(cmd.c_str());
99 return recvRetCommandFinished();
108 sendCommand(cmd.c_str());
109 return recvRetNumber(number);
117 utoa(number, buf, 10);
121 sendCommand(cmd.c_str());
126 sendCommand(cmd.c_str());
127 return recvRetCommandFinished();
136 sendCommand(cmd.c_str());
137 return recvRetNumber(number);
145 utoa(number, buf, 10);
149 sendCommand(cmd.c_str());
154 sendCommand(cmd.c_str());
155 return recvRetCommandFinished();
bool setValue(uint32_t number)
Set the value of gauge.
uint32_t Get_font_color_pco(uint32_t *number)
Get pco attribute of component.
NexGauge(uint8_t pid, uint8_t cid, const char *name)
Constructor.
uint32_t Get_background_cropi_picc(uint32_t *number)
Get picc attribute of component.
bool Set_pointer_thickness_wid(uint32_t number)
Set wid attribute of component.
The definition of class NexGauge.
bool Set_background_crop_picc(uint32_t number)
Set picc attribute of component.
uint32_t Get_pointer_thickness_wid(uint32_t *number)
Get wid attribute of component.
bool Set_font_color_pco(uint32_t number)
Set pco attribute of component.
bool getValue(uint32_t *number)
Get the value of gauge.
uint32_t Get_background_color_bco(uint32_t *number)
Get bco attribute of component.
bool Set_background_color_bco(uint32_t number)
Set bco attribute of component.
Root class of all Nextion components.