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();
bool Set_background_color_bco(uint32_t number)
Set bco attribute of component.
bool setValue(uint32_t number)
Set the value of progress bar.
bool getValue(uint32_t *number)
Get the value of progress bar.
Root class of all Nextion components.
bool Set_font_color_pco(uint32_t number)
Set pco attribute of component.
uint32_t Get_background_color_bco(uint32_t *number)
Get bco attribute of component.
The definition of class NexProgressBar.
NexProgressBar(uint8_t pid, uint8_t cid, const char *name)
Constructor.
uint32_t Get_font_color_pco(uint32_t *number)
Get pco attribute of component.