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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Comm's Error

LOGDrakon opened this issue · comments

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 <EasyNextionLibrary.h>

#include <trigger.h>

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.

I fix it with using SoftwareSerial and manually send instructions.