Need BASIC debugging?

could someone debug this please?

 

main

HIGH 1500

PAUSE

LOW 1500

GOTO main

' {$STAMP BS1}

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

which will make the PIN1 go from low to high, wait 1.5sec, go high to low, wait 1.5sec… then loop forever

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