Nextion User Manual
For Arduino developers
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(uint8_t pid, uint8_t cid, const char *name)
Constructor.
Definition: NexText.cpp:17
bool setText(const char *buffer)
Set text attribute of component.
Definition: NexText.cpp:32
uint16_t getText(char *buffer, uint16_t len)
Get text attribute of component.
Definition: NexText.cpp:22
The definition of class NexTouch.
The definition of base API for using Nextion.
Father class of the components with touch events.
Definition: NexTouch.h:53
NexText component.
Definition: NexText.h:30