Hi, I am new to Annex RDS.
I was trying to get the value of the variable sv in the following line as an example:
Slider$(sv,0,180)
All I got was the value 0; but the servo did move correctly. What is my mistake?
My code:
R = 12
sv = 0
servo.setup 1, R
html "Servo Angle => "
html "<cr>"
html "0 "
html slider$ (sv,0,180)
html " 180"
html " "
html sv 'Report the value of sv
loop1:
servo 1, sv
goto loop1
wait
end