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

API of Nextion. More...

#include <Arduino.h>
#include "NexSerialConfig.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 **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.h.

Function Documentation

bool nexInit ( void  )

Init Nextion's baudrate,page id.

Return values
true- success.
false- failed.

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.

Definition at line 415 of file NexTouch.cpp.