hi, I have a display nextion NX1060P101-011C-I, so the top of the range.
With this display I created a GUI that must represent 15 values with bars and graphs, the problem is that I have to send the data packet cyclically to the display every 50ms and I only have 20-25ms of time (so half cycle time) to send everything. If I use the “standard” technique, then send data by data to the display … for example:
ywirP.setValue (GUI_DATA [i]);
rotP.setPic (GUI_DATA [i]+353);
I lose too much time, in fact using a logic analyzer I noticed that after sending each line of code, my MCU expects a response from the nextion that comes after 1-2 ms, so I can’t send all the data to the display, or if I try, I cause enormous delays on the code!
How can I do?
I thought, if possible, to send an array of data, for example a “packet ” array to the display, so that the display immediately receives all the data (1-3ms) and in the remaining time the display can graph it all.
Thank you all for your help
PS: i set the baudrate to 115200