3 # Nextion Library for Arduino
5 Nextion Arduino library provides an easy-to-use way to manipulate Nextion serial displays.
6 Users can use the libarry freely, either in commerical projects or open-source prjects, without any additional condiitons.
8 For more information about the Nextion display project, please visit [the wiki。](http:
9 The wiki provdies all the necessary technical documnets, quick start guide, tutorials, demos, as well as some useful resources.
11 To
get your Nextion display, please visit [iMall.](http:
13 To discuss the project? Request
new features? Report a BUG? please visit the [Forums](http:
18 Latest source code can be download at https:
25 Online API documentation can be reached at <http:
27 Offline API documentation can be found under directory
30 # Suppported Mainboards:
32 **All boards, which has one or more hardware serial, can be supported.**
41 # Serial configuration
43 In configuration file `NexSerialConfig.h`, you can find two macros below:
45 - dbSerial: Debug Serial (baudrate:9600), needed by beginners
for debug your nextion applications or sketches. If
46 your complete your work, it will be a wise choice to disable Debug Serial.
47 - nexSerial: Nextion Serial, the bridge of Nextion and your mainboard.
49 **Note:** the
default configuration is
for MEGA2560.
51 ## Redirect dbSerial and nexSerial
53 If you want to change the
default serial to debug or communicate with Nextion ,
54 you need to modify the line in file `NexSerialConfig.h`:
56 #define dbSerial Serial ---> #define dbSerial Serialxxx
57 #define nexSerial Serial2 ---> #define nexSeria Serialxxx
59 ## Disable Debug Serial
61 If you want to disable the debug information,you need to modify the line in file
64 #define DEBUG_SERIAL_ENABLE ---> //#define DEBUG_SERIAL_ENABLE
68 If your board has only one hardware serial, such as UNO, you should disable
69 dbSerial and redirect nexSerial to Serial(Refer to section:`Serial configuration`).
72 -------------------------------------------------------------------------------
75 DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
76 Version 2, December 2004
78 Copyright (C) 2014 ITEAD Studio
80 Everyone is permitted to copy and distribute verbatim or modified
81 copies of
this license document, and changing it is allowed as
long
82 as the name is changed.
84 DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
86 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
88 0. You just DO WHAT THE FUCK YOU WANT TO.
91 -------------------------------------------------------------------------------