| Documentation For Arduino users

- Main Page
- Related Pages
- Modules
- Classes
- Files
- Examples

- File List
- File Members

NexPage.cpp
Go to the documentation of this file.
1
16 #include "NexPage.h"
17
18 NexPage::NexPage(uint8_t pid, uint8_t cid, const char *name)
19 :NexTouch(pid, cid, name)
20 {
21 }
22
23 bool NexPage::show(void)
24 {
25 uint8_t buffer[4] = {0};
26
27 const char *name = getObjName();
28 if (!name)
29 {
30 return false;
31 }
32
33 String cmd = String("page ");
34 cmd += name;
35 sendCommand(cmd.c_str());
36 return recvRetCommandFinished();
37 }
38
NexPage::show
bool show(void)
Show itself.
Definition: NexPage.cpp:23
NexPage.h
The definition of class NexPage.
NexPage::NexPage
NexPage(uint8_t pid, uint8_t cid, const char *name)
Constructor.
Definition: NexPage.cpp:18
NexTouch
Father class of the components with touch events.
Definition: NexTouch.h:53