| Documentation For Arduino users

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

- File List
- File Members

NexButton.h
Go to the documentation of this file.
1
17 #ifndef __NEXBUTTON_H__
18 #define __NEXBUTTON_H__
19
20 #include "NexTouch.h"
21 #include "NexHardware.h"
35 class NexButton: public NexTouch
36 {
37 public: /* methods */
38
42 NexButton(uint8_t pid, uint8_t cid, const char *name);
43
51 uint16_t getText(char *buffer, uint16_t len);
52
59 bool setText(const char *buffer);
60 };
66 #endif /* #ifndef __NEXBUTTON_H__ */
NexButton::NexButton
NexButton(uint8_t pid, uint8_t cid, const char *name)
Constructor.
Definition: NexButton.cpp:18
NexButton::getText
uint16_t getText(char *buffer, uint16_t len)
Get text attribute of component.
Definition: NexButton.cpp:23
NexButton
NexButton component.
Definition: NexButton.h:35
NexButton::setText
bool setText(const char *buffer)
Set text attribute of component.
Definition: NexButton.cpp:33
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