Start a new topic

Use vis t1, 0 with timer, is it possible

 Can I use vis t1, 0 with a timer to hide and show object "t1".

I to show thetime on the nextion display like 12:30 and want to make the ":" blink by using a timer that will show and hide the ":".


when I place the command vis t1, 0 in the timer I get a compile error

Error: Invalid Variables:vis t1, 0( Double click to jump to code)
Error: Compile failed! 1 Errors, 0 Warnings,


there should be no space after the ,

try this:

vis t1,0


or better use the component ID instead of the name

vis ID,0


Thanks Alex, it worked as you said.

 

Login or Signup to post a comment