Yes, it SHOULD, but they don’t. I’ve been working with a gentlemen on YT as well as some really smart folks in the Arduino discord and we haven’t been able to solve it.
The problem is that data does not get passed onto the screen like I say via Serial. Please see the methods we have tried as stated above.
I’m assuming you are using the library to get it to do so.
For example, here is some test code. This will work on the D1/ESP32, but not anything else.
void setup() {
Serial.begin(9600);
delay(1500);
while (!Serial) {
;
}
}
void loop() {
Serial.print("t0.txt=\""); // Changing the value of box n1
Serial.print("test");
Serial.print("\"");
Serial.write(0xff); // We always have to send this three lines after each command sent to the nextion display.
Serial.write(0xff);
Serial.write(0xff);
delay(1500);
Serial.print("t0.txt=\""); // Changing the value of box n1
Serial.print("test");
Serial.print("\"");
Serial.write(0xff); // We always have to send this three lines after each command sent to the nextion display.
Serial.write(0xff);
Serial.write(0xff);
delay(1500);
}