Stupid simple question.....
I'm trying to make a button work...
here is my test code:
Code:
input Pin4
loop:
if Pin4 = 1 then cycle
goto loop
cycle:
if Pin4 = 0 then loop
high 0 : pause 100
high 1 : pause 100
high 2 : pause 100
low 0 : pause 100
low 1 : pause 100
low 2 : pause 100
goto cycle
end
When I connect pin4 to high nothing happens... Do I need to pull the pin high or low or something? Should I have something other than the "input Pin4" command?
This seems like it should be super fricking simple, but it just doesn't work... I feel like I'm taking crazy pills!! Someone please help.