Start a new topic

Changing text doesn't work second tiem through

Using an arduino uno I can change the text 1 time by sending t0.txt="12345"0xff,0xff,0xff. When I attempt to send a new string to t0.txt later using the same format it will not work. Any ideas what is going wrong.


post HMI file and source code

Got it fixed last night. I was writing the command string a byte at a time using a for loop. I changed it to printing the t3.txt then writing the 0x22 then printing the data then writing the 0x22 and the 3 0xff's. Apparently it didn't like it being sent the original way.


 

The Iteadlib Arduino Nextion Library is open source and do as you will style licencing.

It can certainly be used as a reference and guideline

Login or Signup to post a comment