Start a new topic

disable click until process finish

how to disable one button or more and not able to be clicked before processing the release event done? i try using tsw when clicked, but it still can be clicked while release event and cant be clicked after its done(tsw worked)


Read Nextion Instruction Set:

https://www.itead.cc/wiki/Nextion_Instruction_Set


combine tsw and click

How long is click to be not working?

before i did this on release event
onRelease_event(button)
{
tsw (button),0
task()
tsw (button),1

 }

//not actual code


now i'm using another timer to enable the button, at least it will not get twice in one second
thx

Login or Signup to post a comment