could someone debug this please?
mainHIGH 1500PAUSELOW 1500GOTO main' {$STAMP BS1}
the ' {$STAMP BS1} has to be the first line of any code, to specify which platform you are running on
your "main" has to be "main:"
the HIGH and LOW accepts a PIN number... 1500 is NOT a pin.
PAUSE needs a delay... in ms.
your code should be
' {$STAMP BS1}
main:
HIGH 1
PAUSE 1500
LOW 1
GOTO main
If I were you, I would really start with reading this book :
http://www.parallax.com/Portals/0/Downloads/docs/books/edu/Roboticsv2_2.pdf
Search page
@ Sun, 2009-02-22 21:05
the ' {$STAMP BS1} has to
the ' {$STAMP BS1} has to be the first line of any code, to specify which platform you are running on
your "main" has to be "main:"
the HIGH and LOW accepts a PIN number... 1500 is NOT a pin.
PAUSE needs a delay... in ms.
your code should be
' {$STAMP BS1}
main:
HIGH 1
PAUSE 1500
LOW 1
PAUSE 1500
GOTO main
If I were you, I would really start with reading this book :
http://www.parallax.com/Portals/0/Downloads/docs/books/edu/Roboticsv2_2.pdf