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

serial baud rate

Xarin94 opened this issue · comments

commented

with this command the screen works but slowly, myNex.begin(9600)
i tried to write myNex.begin(115200);
but screen can' read anything.
thanks

Hello,

This could be due to different baud rates. Arduino has 115200 and Nextion something else, possibly 9600.

In the Preinitialize Event of the first page loaded on Nextion, write:
baud=115200 (this changes the baud rate of Nextion to 115200 only for that HMI file)
or
bauds=115200 (this changes the default baud rate to 115200)

Try to do this and let me know

commented

thanks a lot, works