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:
26 Online API documentation can be reached at <http:
28 Offline API documentation can be open by clicking `doc/API/index.html`.
31 # Suppported Mainboards:
33 **All boards, which has one or more hardware serial, can be supported.**
42 # Serial configuration
44 In configuration file `NexSerialConfig.h`, you can find two macros below:
46 - dbSerial: Debug Serial (baudrate:9600), needed by beginners
for debug your nextion applications or sketches. If
47 your complete your work, it will be a wise choice to disable Debug Serial.
48 - nexSerial: Nextion Serial, the bridge of Nextion and your mainboard.
50 **Note:** the
default configuration is
for MEGA2560.
52 ## Redirect dbSerial and nexSerial
54 If you want to change the
default serial to debug or communicate with Nextion ,
55 you need to modify the line in file `NexSerialConfig.h`:
57 #define dbSerial Serial ---> #define dbSerial Serialxxx
58 #define nexSerial Serial2 ---> #define nexSeria Serialxxx
60 ## Disable Debug Serial
62 If you want to disable the debug information,you need to modify the line in file
65 #define DEBUG_SERIAL_ENABLE ---> //#define DEBUG_SERIAL_ENABLE
69 If your board has only one hardware serial, such as UNO, you should disable
70 dbSerial and redirect nexSerial to Serial(Refer to section:`Serial configuration`).
76 -------------------------------------------------------------------------------
79 DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
80 Version 2, December 2004
82 Copyright (C) 2014 ITEAD Studio
84 Everyone is permitted to copy and distribute verbatim or modified
85 copies of
this license document, and changing it is allowed as
long
86 as the name is changed.
88 DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
90 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
92 0. You just DO WHAT THE FUCK YOU WANT TO.
95 -------------------------------------------------------------------------------