basic stamp programming
Nikolay
Posts: 8
here is my question...
after you write your program and click run, the program is downloaded into the basic stamp, but it is not executed.
is it possible to get it to execute the program after download, without unplugging the serial cable and pressing reset? if so how.
Thank you for your time.
after you write your program and click run, the program is downloaded into the basic stamp, but it is not executed.
is it possible to get it to execute the program after download, without unplugging the serial cable and pressing reset? if so how.
Thank you for your time.
Comments
END
Something is keeping your lines on RESET ..
Please post what kind of equipament are you using.
Amaral
if for example i put
counter VAR Word
FOR counter 1 = 100
PULSOUT 15, 1000
PAUSE 20
NEXT
END
My motor twitches and thats it
if i add DEBUG ""
counter VAR Word
FOR counter 1 = 150
PULSOUT 15, 1000
PAUSE 20
NEXT
DEBUG ""
END
The the motor goes throug the whole program
is there a way of getting the same result without putting a debug screen at the end?
You should not need the DEBUG statement for it to work properly. I've used a program almost identical to your first example (with a correct FOR statement) for adjusting a servo and it's worked just as expected.
' {$PBASIC 2.5}
x VAR Word
FOR x = 1 TO 100
PULSOUT 15, 1000
PAUSE 20
NEXT
END
Here is the actual program
sorry for the error