Nextion User Manual
For Arduino developers
|
Root class of all Nextion components. More...
#include <NexObject.h>
Public Member Functions | |
NexObject (uint8_t pid, uint8_t cid, const char *name) | |
Constructor. More... | |
void | printObjInfo (void) |
Print current object'address, page id, component id and name. More... | |
Root class of all Nextion components.
Provides the essential attributes of a Nextion component and the methods accessing them. At least, Page ID(pid), Component ID(pid) and an unique name are needed for creating a component in Nexiton library.
Definition at line 32 of file NexObject.h.
NexObject::NexObject | ( | uint8_t | pid, |
uint8_t | cid, | ||
const char * | name | ||
) |
Constructor.
pid | - page id. |
cid | - component id. |
name | - pointer to an unique name in range of all components. |
Definition at line 17 of file NexObject.cpp.
void NexObject::printObjInfo | ( | void | ) |
Print current object'address, page id, component id and name.
Definition at line 39 of file NexObject.cpp.