Nextion User Manual
For Arduino developers
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__ */
void nexLoop(NexTouch *nex_listen_list[])
Listen touch event and calling callbacks attached before.
bool nexInit(void)
Init Nextion.
The definition of class NexTouch.
Father class of the components with touch events.
Definition: NexTouch.h:53
Options for user can be found here.