API
For Arduino developers
readme.md
1 @mainpage
2 
3 # Nextion Library for Arduino
4 
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.
7 
8 For more information about the Nextion display project, please visit [the wiki。](http://wiki.iteadstudio.com/Nextion_HMI_Solution)
9 The wiki provdies all the necessary technical documnets, quick start guide, tutorials, demos, as well as some useful resources.
10 
11 To get your Nextion display, please visit [iMall.](http://imall.itead.cc/display/nextion.html)
12 
13 To discuss the project? Request new features? Report a BUG? please visit the [Forums](http://support.iteadstudio.com/discussions/1000058038)
14 
15 ​
16 # Source
17 
18 Latest source code can be download at https://github.com/itead/ITEADLIB_Arduino_Nextion.
19 
20 You can clone it by:
21 
22  git clone https://github.com/itead/ITEADLIB_Arduino_Nextion
23 
24 # Documentation
25 Online API documentation can be reached at <http://docs.iteadstudio.com/ITEADLIB_Arduino_Nextion/>.
26 
27 Offline API documentation can be found under directory
28 [doc](https://github.com/itead/ITEADLIB_Arduino_Nextion/tree/master/doc).
29 
30 # Hareware requirement
31 
32  - RAM: not less than 2KBytes
33  - Serial: two serial (communication and debug)
34 
35 # Serial configuration
36 
37 If you want to change the default serial to debug or communicate with Nextion ,you need to modify the line in file NexSerialConfig.h:
38 
39  #define dbSerial Serial ---> #define dbSerial Serialxxx
40  #define nexSerial Serial2 ---> #define dbSerial Serialxxx
41 If you want to close the debug information,you need to modify the line in file NexSerialConfig.h:
42 
43  #define DEBUG_SERIAL_ENABLE ---> //#define DEBUG_SERIAL_ENABLE
44 # Suppported Mainboards:
45 
46  - Iteaduino MEGA2560
47  - Arduino MEGA2560
48 
49 -------------------------------------------------------------------------------
50 
51 
52  DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
53  Version 2, December 2004
54 
55  Copyright (C) 2014 ITEAD Studio
56 
57  Everyone is permitted to copy and distribute verbatim or modified
58  copies of this license document, and changing it is allowed as long
59  as the name is changed.
60 
61  DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
62 
63  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
64 
65  0. You just DO WHAT THE FUCK YOU WANT TO.
66 
67 
68 -------------------------------------------------------------------------------