first controller pbasic???
Not a whole lot. There’s some stuff that the Stamp can do that the RC doesn’t use, and so that’s a bit different. The language is the same, though. Just what you can do is different.
there is no indivual I/O commands. you can do everything but that. Inupt is handled by the ‘SERIN’ command, and output by the ‘SEROUT’ command.
I’m going to have to disagree with Jeff. I’ve made a small robot using just a bs2sx chip and I’ve programmed our teams robot and I thought there was a noticeable difference. It’s true that pbasic is used for both, so the syntax for commands is exactly the same.
What helped me to understand the difference is two things. Learn how the FIRST RC controller works and figure out how the default program works. It may seem pointless to learn how the RC works, but it really helped me.
I think the stamp is a bit more simpler than pBasic… sometimes too much that you don’t know what’s wrong. Our team lost the instruction book, does anyone know where I can go to download a copy for reference?
If you’re refering to that spiral bound book from parallax, its at Parallax’swebsite. Its not too useful though, as most of the problems my team has ever had are specific to the InnovationFIRST controllers. For those problems, your only real resource is this forum.
the best way to learn how to program for FIRST is to take the default program, and know it by heart. all you need to know is in it. then, when you need more advanced functions, go to the manual.
There is no physical difference between “standard” PBasic and “FIRST controller” PBasic, as there is an identical STamp 2sx chip used in either case. However, how much of the language is actually useful in the FIRST controller is the real question, as all I/O is handled through the RC’s master CPU, rather than direct pin access like you would in a standalone setup…