![]() |
BASIC programming
Does any one know of any tutorials or anything that can help me learn the BASIC programming language to program an older rc and OI? if so please pm me or post here i would greatly appreciate it! or if anyone can help me like 1 on 1 over like aim or whatever messenger you use i would greatly appreciate your help!!!
|
Re: BASIC programming
Hey -
There's some information in this thread. Hope it's of use to you. I know some basic BASIC, but don't know of how much aid I'll be. You can try asking me, though :p Good luck! |
Re: BASIC programming
Here's the Programming Reference Guide for the old controllers.
Here's the official Basic Stamp Reference Manual which documents all of the BASIC commands. In fact, most of what you need to get started is on the IFI Legacy Documentation page, in the 2001-2003 section. Good luck, and feel free to message me if you need help. |
Re: BASIC programming
Quote:
To be honest, most of the PBASIC language is non-standard BASIC. Knowing BASIC is more of a hindrance than a help sometimes. Read the PBASIC manual and you'll be off to a good start. Some advice. Forget/ignore the PBASIC manual that has anything to do with direct management of the I/O pins. They are pretty much useless because the RC more or less limited the pins of the STAMP2 to those talking to the Master CPU, The Programming Port (actually not a bad way to get a peripheral to talk to the STAMP2 program via RS-232) and some pins that more or less just turned on LEDs. Get used to the PBASIC line processing method and avoid using too many parentheses. After coding for a while, I would end up with so many layers of nested ('s and )'s that the code was untouchable. Things got better from me once I decided to go with the Zen of PBASIC rather than fighting it. Know the ins and outs of 16 bit unsigned math. It is a beast that will bite you in unseemly places at exactly the wrong moment. I can't tell you how many strange robot quirks were tracked down to some 16 bit overflow that only happens when the phase of the moon is just right and the tide is high and the robot driver's middle name has a T in it ;-) Good luck. Joe J. |
| All times are GMT -5. The time now is 11:30. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi