I’d want to would sleep screen Nextion NX4832K035_011 in my sketch of Arduino Wifi MKR 1010 and it wakes up some minutes later.
What is the error in the code?
Thanksss!
void setup() {
Serial1.begin(9600);
delay(500);
}
void loop()
{
//Serial1.print(0x86); //It doesn’t work it
Serial1.write(0x86); //It doesn’t work it
Serial1.write(0xff);
Serial1.write(0xff);
Serial1.write(0xff);
delay(1000);
//Serial1.print(0x87); //It doesn’t work it
Serial1.write(0x87); //It doesn’t work it
Serial1.write(0xff);
Serial1.write(0xff);
Serial1.write(0xff);
delay(1000);
}