| Documentation For Arduino users

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

- File List
- File Members

NexText.h
Go to the documentation of this file.
1
17 #ifndef __NEXTEXT_H__
18 #define __NEXTEXT_H__
19
20 #include "NexTouch.h"
21 #include "NexHardware.h"
30 class NexText: public NexTouch
31 {
32 public: /* methods */
36 NexText(uint8_t pid, uint8_t cid, const char *name);
37
45 uint16_t getText(char *buffer, uint16_t len);
46
53 bool setText(const char *buffer);
54 };
55
60 #endif /* #ifndef __NEXTEXT_H__ */
NexText::NexText
NexText(uint8_t pid, uint8_t cid, const char *name)
Constructor.
Definition: NexText.cpp:17
NexText::setText
bool setText(const char *buffer)
Set text attribute of component.
Definition: NexText.cpp:32
NexText::getText
uint16_t getText(char *buffer, uint16_t len)
Get text attribute of component.
Definition: NexText.cpp:22
NexTouch.h
The definition of class NexTouch.
NexHardware.h
The definition of base API for using Nextion.
NexTouch
Father class of the components with touch events.
Definition: NexTouch.h:53
NexText
NexText component.
Definition: NexText.h:30