mirror of
https://github.com/itead/ITEADLIB_Arduino_Nextion.git
synced 2026-03-03 08:44:00 +01:00
77b0187bf987695601bc8f583a2fb76e6086c5dd
HMI
A HMI library for Arduino providing an easy-to-use way to manipulate LCD touch screen.
Source
Source can be download at https://github.com/itead/ITEADLIB_Arduino_Nextion.
You can clone it by:
git clone https://github.com/itead/ITEADLIB_Arduino_Nextion
How to get started
On the home page of API documentation, the tabs of Examples, Classes and Modules will be useful for Arduino lovers.
Mainboard Requires
- RAM: not less than 2KBytes
- Serial: one serial (HardwareSerial or SoftwareSerial) at least
Suppported Mainboards
- Arduino UNO and its derivatives
- Arduino MEGA and its derivatives
Using SoftwareSerial
If you want to use SoftwareSerial to communicate with LCD touch screen, you need to modify
the line in file hmi.h:
//#define HMI_SOFTWARE_SERIAL
After modification, it should be:
#define HMI_SOFTWARE_SERIAL
Hardware Connection
HMI library only needs an uart for hardware connection. All communications are done via uart. Before using this examples, you should ensure that your LCD touch screen have been connected.
The End!
Description
Languages
HTML
73.5%
TeX
13.2%
C++
6.6%
PostScript
3.2%
JavaScript
1.9%
Other
1.5%