I'm playing with my Nextion display and managed to successfully send different values from my Arduino Uno the the display.
But I'm currently struggling to receive serial data from the display with my Arduino.
Does anybody have the piece of code to receive serial data with the Arduino?
I'm using the official ITEAD library:
Thank you very much in advance!
That whole library is an example
but also many examples in examples folder.
Your answer helped me indeed! :)