Below is the code to send from the Arduino. You may need to change Serial to Serial1 or Serial2 and tm0 may have a different name but this is the general concept To Disable Serial.print("tm0.en=0"); Serial.write(0xff); Serial.write(0xff); Serial.write(0xff); To Enable Serial.print("tm0.en=1"); Serial.write(0xff); Serial.write(0xff); Serial.write(0xff);
This is my first time i've worked with this kind of display. So many thanks :)))))
Glad I could help! Thanks for watching.
Many thanks - very helpful
I hope you are finding current ones useful.
HI, Has how to enable and disable a timer in Nextion from a command in Arduino?
Below is the code to send from the Arduino. You may need to change Serial to Serial1 or Serial2 and tm0 may have a different name but this is the general concept
To Disable
Serial.print("tm0.en=0");
Serial.write(0xff);
Serial.write(0xff);
Serial.write(0xff);
To Enable
Serial.print("tm0.en=1");
Serial.write(0xff);
Serial.write(0xff);
Serial.write(0xff);
@@CheapControls TKS working!!