Hi M Aal,
I’ve created a very basic XOD library for the Nextion:
https://xod.io/libs/wayland/nextion/
Here’s a quick demo:
The demo is included in the library as the example patch and should be used with the following Nextion GUI file: https://github.com/WaylandM/xod-nextion/raw/master/hmi/xod-demo-1.HMI
My library wraps Athanasios Seitanis’s Easy Nextion Library (GitHub - Seithan/EasyNextionLibrary: A simple library for Nextion display that uses only four functions. You can easily benefit from Nextion's wide range of features and advantages in just a few easy steps. The library uses a custom protocol that can prove to be a powerful tool for advanced users as it can be easily modified to meet one’s needs.) and is a work in progress. There are methods in the Easy Nextion Library that do not yet have equivalent nodes in my XOD library. At present my library allows you to read and write numeric attributes of the objects on the Nextion display.
I tested my library on an Arduino Mega. I used Serial1 (pins 18 and 19) to communicate with the Nextion, so that Serial (pins 0 and 1) was available for debugging.
Please let me know if you have any questions.