Quad Crawler - Syntax error w/ Pins
Robomanjosh
Posts: 4
I keep having a problem with every program that defines a PIN
example:
PSC PIN 15 ' PSC module
Button1 PIN 12
Syntax Error: Expected ':' or End-of-line
I have read everything I can to find out the program. I have not found anything that has helped.
Please send help, either explain why this is happening, or send a piece of code that will help.
I just need a basic program to define the buttons and/or to make it walk
Thank you
example:
PSC PIN 15 ' PSC module
Button1 PIN 12
Syntax Error: Expected ':' or End-of-line
I have read everything I can to find out the program. I have not found anything that has helped.
Please send help, either explain why this is happening, or send a piece of code that will help.
I just need a basic program to define the buttons and/or to make it walk
Thank you
Comments
·· Please· add the PBASIC 2.5 directive to the beginning of your code.· The PIN keyword is only recognized under PBASIC 2.5.· Also be sure you're using the latest version of the PBASIC Editor if it's older than V2.1.· This can be downloaded from our website under downloads/BASIC Stamp Software.· I suspect it's just the PBASIC 2.5 directive though.· If you hand-typed it in, try using the directive menu option instead.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Post Edited (Chris Savage (Parallax)) : 8/29/2005 2:46:13 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Sorry about the putting one post on BASIC Stamp
and in Robotics but I thought since it was a quad crawler robot that it would be better to put the question here.
Because I thought that it was a problem with the robot source code