API
For Arduino developers
Classes | Functions
NexTouch.h File Reference

API of Nextion. More...

#include <Arduino.h>

Go to the source code of this file.

Classes

class  NexTouch
 Root Class of Nextion Components. More...
 

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.h.

Function Documentation

bool nexInit ( void  )

Init Nextion's baudrate,page id.

Return values
true- success.
false- failed.

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.

Definition at line 440 of file NexTouch.cpp.