I have a problem that I have been struggling with for days, I am connecting a nextion NX8048T070 screen with an Arduino, I am using the Serial of my Arduino Uno and my idea is to change what a text box on the screen says, I have tried everything and no I get nothing, the text changes in the Nextion debug but not physically, what can I do?
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
Serial.print("t0.txt="); // This is sent to the nextion display to set what object name (before the dot) and what atribute (after the dot) are you going to change.
Serial.print("\""); // Since we are sending text, and not a number, we need to send double quote before and after the actual text.
Serial.print("De entrada"); // This is the text you want to send to that object and atribute mentioned before.
Serial.print("\""); // Since we are sending text, and not a number, we need to send double quote before and after the actual text.
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(1000);
Serial.print("t0.txt="); // This is sent to the nextion display to set what object name (before the dot) and what atribute (after the dot) are you going to change.
Serial.print("\""); // Since we are sending text, and not a number, we need to send double quote before and after the actual text.
Serial.print("Apoco si"); // This is the text you want to send to that object and atribute mentioned before.
Serial.print("\""); // Since we are sending text, and not a number, we need to send double quote before and after the actual text.
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(1000);
}

