About PIN
tawfek
Posts: 3
Hi,
I am totally new to Basic Stamp. So I tried out the experiment #1 straight from the manual:-
' {$STAMP BS2}
' {PBASIC 2.5}
AlarmLed PIN· 0
FlashTm· CON 500
Main:
· HIGH AlarmLed
· PAUSE FlashTm
· LOW·AlarmLed
· PAUSE FlashTm
· GOTO Main
But what I dont understand is that I got an error message "EXPECTED : OR END OF LINE" ·at the PIN keyword, can anybody help me?
Thanks
·
I am totally new to Basic Stamp. So I tried out the experiment #1 straight from the manual:-
' {$STAMP BS2}
' {PBASIC 2.5}
AlarmLed PIN· 0
FlashTm· CON 500
Main:
· HIGH AlarmLed
· PAUSE FlashTm
· LOW·AlarmLed
· PAUSE FlashTm
· GOTO Main
But what I dont understand is that I got an error message "EXPECTED : OR END OF LINE" ·at the PIN keyword, can anybody help me?
Thanks
·
Comments
All PBASIC Compiler directives MUST begin with a $ and be encased in curley bracket. Please replace the PBASIC directive to look like this:
' {$PBASIC 2.5}
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com