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 **nex_listen_list)
 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:
CompButton.ino, CompCrop.ino, CompHotspot.ino, CompPage.ino, CompPicture.ino, CompPointer.ino, CompProgressBar.ino, and CompText.ino.

Definition at line 398 of file NexTouch.cpp.

bool nexLoop ( NexTouch **  nex_listen_list)

Call mainEventLoop,watting for Nextion's touch event.

Parameters
nex_listen_list- index to Nextion Components list.
Return values
false- failed.
Examples:
CompButton.ino, CompCrop.ino, CompHotspot.ino, CompPage.ino, CompPicture.ino, CompPointer.ino, CompProgressBar.ino, and CompText.ino.

Definition at line 415 of file NexTouch.cpp.