STEPPER.SETUP ends in Syntax error

Here we can discuss about the problem found
User avatar
cicciocb
Site Admin
Posts: 2057
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1357 times
Contact:

Re: STEPPER.SETUP ends in Syntax error

Post by cicciocb »

[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.
Sure.

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
Post Reply