API
For Arduino developers
Functions
NexTouch.cpp File Reference

API of Nextion. More...

#include "NexTouch.h"

Go to the source code of this file.

Functions

bool nexInit (void)
 Init Nextion's baudrate,page id. More...
 
bool nexLoop (NexTouch **nexListenList)
 Call mainEventLoop,watting for Nextion's touch event. More...
 

Detailed Description

API of Nextion.

Author
Wu Pengfei (email:pengf.nosp@m.ei.w.nosp@m.u@ite.nosp@m.ad.c.nosp@m.c)
Date
2015/7/10

Definition in file NexTouch.cpp.

Function Documentation

bool nexInit ( void  )

Init Nextion's baudrate,page id.

Return values
true- success.
false- failed.
Examples:
CompHotspot.ino.

Definition at line 423 of file NexTouch.cpp.

bool nexLoop ( NexTouch **  nexListenList)

Call mainEventLoop,watting for Nextion's touch event.

Parameters
nexListenList- index to Nextion Components list.
Return values
false- failed.
Examples:
CompHotspot.ino.

Definition at line 440 of file NexTouch.cpp.