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.
MIT License
116 stars 29 forks source link

Comm's Error #65

Closed LOGDrakon closed 10 months ago

LOGDrakon commented 10 months ago

Hello, I try to use your library to communicate my arduino with my nexion display. The code is really basic, but it doesnt work with my display.

`#include

include

EasyNex myNex(Serial);

void setup(){ myNex.begin(9600); }

void loop() { myNex.writeNum("t0.bco", 2016); }` This is the output i have in serial port : "t0.bco=2016⸮⸮⸮t0.bco=2016⸮⸮⸮" when I try "t0.bco=2016⸮⸮⸮" in the debug of the Nextion Editor, this doesnt work. If that can help you, I use the NX8048P070-011C-Y display. Thanks for your help.

LOGDrakon commented 10 months ago

I fix it with using SoftwareSerial and manually send instructions.