|
Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
|
#include <NexObject.h>
Public Member Functions | |
| NexObject (uint8_t pid, uint8_t cid, const char *name) | |
| void | printObjInfo (void) |
Protected Member Functions | |
| uint8_t | getObjPid (void) |
| uint8_t | getObjCid (void) |
| const char * | getObjName (void) |
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.
| 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. |
| void NexObject::printObjInfo | ( | void | ) |
Print current object'address, page id, component id and name.