Sure.[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Sat Apr 20, 2024 6:37 pm by the way and off topic. is there a way to connect the backcolor of a html button to a variable to show if the motors are running or not.
This is a very simple snippet
Code: [Local Link Removed for Guests]
cls
html button$("start", goHere, "mybutton")
i = 0
timer0 1000, blink
wait
blink:
if (i and 1) = 0 then
css cssid$("mybutton", "background-color:red")
else
css cssid$("mybutton", "background-color:green")
end if
incr i
return
gohere:
return