nextion
nextion copied to clipboard
Hardware Serial gets annoying values
Hello, I was using Nextion Display with Software Serial in my Arduino MEGA, then I changed to Hardware Serial... Everything works ok, when I press a button the Arduino recognizes it and make the right thing...
The only problem is after pressing any button which sends information to arduino, this information keeps repeating every 4-5 seconds, but it repeats only a part of the original sent variable.
Take a look in the log:
I'm using Nextion Display (normal edition) with Arduino MEGA 2560 in Hardware Serial port number 2
My display code is correct, when I use the debug option in Nextion HMI, there is no sending of values from time to time. (And I checked all the code)