Siwat Sirichai 6ccbc32911 | ||
---|---|---|
.. | ||
doc | ||
examples | ||
html | ||
latex | ||
NexButton.cpp | ||
NexButton.h | ||
NexCheckbox.cpp | ||
NexCheckbox.h | ||
NexConfig.h | ||
NexCrop.cpp | ||
NexCrop.h | ||
NexDualStateButton.cpp | ||
NexDualStateButton.h | ||
NexGauge.cpp | ||
NexGauge.h | ||
NexGpio.cpp | ||
NexGpio.h | ||
NexHardware.cpp | ||
NexHardware.h | ||
NexHotspot.cpp | ||
NexHotspot.h | ||
NexNumber.cpp | ||
NexNumber.h | ||
NexObject.cpp | ||
NexObject.h | ||
NexPage.cpp | ||
NexPage.h | ||
NexPicture.cpp | ||
NexPicture.h | ||
NexProgressBar.cpp | ||
NexProgressBar.h | ||
NexRadio.cpp | ||
NexRadio.h | ||
NexRtc.cpp | ||
NexRtc.h | ||
NexScrolltext.cpp | ||
NexScrolltext.h | ||
NexSlider.cpp | ||
NexSlider.h | ||
NexText.cpp | ||
NexText.h | ||
NexTimer.cpp | ||
NexTimer.h | ||
NexTouch.cpp | ||
NexTouch.h | ||
NexUpload.cpp.d | ||
NexUpload.h.d | ||
NexVariable.cpp | ||
NexVariable.h | ||
NexWaveform.cpp | ||
NexWaveform.h | ||
Nextion.h | ||
doxygen.doxy | ||
doxygen.h | ||
license.md | ||
readme.md | ||
release_notes.md | ||
version.txt |
readme.md
@mainpage Home Page
Nextion
Introduction
Nextion Arduino library provides an easy-to-use way to manipulate Nextion serial displays. Users can use the libarry freely, either in commerical projects or open-source prjects, without any additional condiitons.
For more information about the Nextion display project, please visit
the wiki。
The wiki provdies all the necessary technical documnets, quick start guide,
tutorials, demos, as well as some useful resources.
To get your Nextion display, please visit iMall.
To discuss the project? Request new features? Report a BUG? please visit the Forums
Download Source Code
Latest version is unstable and a mass of change may be applied in a short time without any notification for users. Commonly, it is for developers of this library.
Release version is recommanded for you, unless you are one of developers of this library.
Release notes is at https://github.com/itead/ITEADLIB_Arduino_Nextion/blob/master/release_notes.md.
Latest(unstable)
Latest source code(master branch) can be downloaded: https://github.com/itead/ITEADLIB_Arduino_Nextion/archive/master.zip.
You can also clone it via git:
git clone https://github.com/itead/ITEADLIB_Arduino_Nextion
Releases(stable)
- https://github.com/itead/ITEADLIB_Arduino_Nextion/archive/v0.7.0.zip
- https://github.com/itead/ITEADLIB_Arduino_Nextion/archive/v0.7.0.tar.gz
All releases can be available from: https://github.com/itead/ITEADLIB_Arduino_Nextion/releases.
Documentation
Offline Documentation's entry doc/Documentation/index.html
shiped with source code
can be open in your browser such as Chrome, Firefox or any one you like.
Suppported Mainboards
All boards, which has one or more hardware serial, can be supported.
For example:
- Iteaduino MEGA2560
- Iteaduino UNO
- Arduino MEGA2560
- Arduino UNO
Configuration
In configuration file NexConfig.h, you can find two macros below:
-
dbSerial: Debug Serial (baudrate:9600), needed by beginners for debug your nextion applications or sketches. If your complete your work, it will be a wise choice to disable Debug Serial.
-
nexSerial: Nextion Serial, the bridge of Nextion and your mainboard.
Note: the default configuration is for MEGA2560.
Redirect dbSerial and nexSerial
If you want to change the default serial to debug or communicate with Nextion , you need to modify the line in configuration file:
#define dbSerial Serial ---> #define dbSerial Serialxxx
#define nexSerial Serial2 ---> #define nexSeria Serialxxx
Disable Debug Serial
If you want to disable the debug information,you need to modify the line in configuration file:
#define DEBUG_SERIAL_ENABLE ---> //#define DEBUG_SERIAL_ENABLE
UNO-like Mainboards
If your board has only one hardware serial, such as UNO, you should disable
dbSerial and redirect nexSerial to Serial(Refer to section:Serial configuration
).
Useful Links
http://blog.iteadstudio.com/nextion-tutorial-based-on-nextion-arduino-library/
License
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.