wayland/nextion@0.0.4

License: MIT

Library for Nextion displays. Wraps Athanasios Seitanis's Easy Nextion Library (https://github.com/Seithan/EasyNextionLibrary).
NodeDescription
example02-read-write-strings
Patch demonstrating how to read/write text attributes of nextion widgets and variables. To be used with the following Nextion GUI: https://github.com/WaylandM/xod-nextion/blob/master/hmi/xod-example02-read-write-strings.HMI
example05-page-id
Patch to demonstrate reading numerical IDs of current and previous pages of the Nextion display. To be used with the following Nextion GUI: https://github.com/WaylandM/xod-nextion/blob/master/hmi/xod-example05-page-id.HMI
example04-touch-event
Patch to demonstrate detection of touch events. To be used with the following Nextion GUI: https://github.com/WaylandM/xod-nextion/blob/master/hmi/xod-example04-touch-event.HMI
example03-dual-state-button
Patch to demonstrate operation of dual-state buttons. To be used with the following Nextion GUI: https://github.com/WaylandM/xod-nextion/blob/master/hmi/xod-example03-dual-state-button.HMI
example06-send-command
Patch to demonstrate how commands can be sent to the Nextion display. To be used with the following Nextion GUI: https://github.com/WaylandM/xod-nextion/blob/master/hmi/xod-example06-send-command.HMI
get-page-id
Get ID number of current and previous pages.
example01-read-write-numbers
Patch demonstrating how to read/write numeric attributes of nextion widgets and variables. To be used with the following Nextion GUI: https://github.com/WaylandM/xod-nextion/blob/master/hmi/xod-example01-read-write-numbers.HMI
nextion-serial
Create a nextion device on Serial.
nextion-serial1
Create a nextion device on Serial1.
nextion-serial2
Create a nextion device on Serial2.
example07-full-demo
Patch combining much of the functionality of the other examples for demonstration and testing purposes. To be used with the following Nextion GUI: https://github.com/WaylandM/xod-nextion/blob/master/hmi/xod-example07.HMI
nextion-serial3
Create a nextion device on Serial3.
read-number
Read a numeric attribute of an object on the nextion display.
send-command
Send any command in the Nextion instruction set to the touchscreen. https://nextion.tech/instruction-set/
write-number
Write to a numeric attribute of an object.
listen
Listen for nextion touch events and page changes. This node must be updated continuously.
read-string
Read a text attribute of an object on the nextion display.
write-string
Write to the string attribute of an object.
To use the nodes in your project you should have the wayland/nextion library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.