Documentation: NexHardware.h Source File

| Documentation For Arduino users

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

- File List
- File Members

NexHardware.h
Go to the documentation of this file.
1
15 #ifndef __NEXHARDWARE_H__
16 #define __NEXHARDWARE_H__
17 #include <Arduino.h>
18 #include "NexConfig.h"
19 #include "NexTouch.h"
20
31 bool nexInit(void);
32
44 void nexLoop(NexTouch *nex_listen_list[]);
45
50 bool recvRetNumber(uint32_t *number, uint32_t timeout = 100);
51 uint16_t recvRetString(char *buffer, uint16_t len, uint32_t timeout = 100);
52 void sendCommand(const char* cmd);
53 bool recvRetCommandFinished(uint32_t timeout = 100);
54
55 #endif /* #ifndef __NEXHARDWARE_H__ */
nexLoop
void nexLoop(NexTouch *nex_listen_list[])
Listen touch event and calling callbacks attached before.
Definition: NexHardware.cpp:235
nexInit
bool nexInit(void)
Init Nextion.
Definition: NexHardware.cpp:220
NexTouch.h
The definition of class NexTouch.
NexTouch
Father class of the components with touch events.
Definition: NexTouch.h:53
NexConfig.h
Options for user can be found here.