NexPage.cpp
Go to the documentation of this file.
#include "NexPage.h"
NexPage::NexPage(uint8_t pid, uint8_t cid, const char *name)
:NexTouch(pid, cid, name)
{
}
bool NexPage::show(void)
{
uint8_t buffer[4] = {0};
const char *name = getObjName();
if (!name)
{
return false;
}
String cmd = String("page ");
cmd += name;
sendCommand(cmd.c_str());
return recvRetCommandFinished();
}
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