PBasic programming template
Tru Custom
Posts: 13
Hi,
I am trying to understand the PBasic programming language and have been reading the syntax PDF and was wondering if anyone has a programming template that possibly has the comments and applications so that I can become more familiar with PBasic. I have completed the BOE-Bot course and am preparing to take a directed study course using the Professional Development board w/ Stamp Works. I have been watching a YouTube video series on Basic Stamp Programming and halfway through I realize that he has a ADC chip. I need to begin at the beginning and work up so I can use this tool proficiently.
Thanks, Tru
I am trying to understand the PBasic programming language and have been reading the syntax PDF and was wondering if anyone has a programming template that possibly has the comments and applications so that I can become more familiar with PBasic. I have completed the BOE-Bot course and am preparing to take a directed study course using the Professional Development board w/ Stamp Works. I have been watching a YouTube video series on Basic Stamp Programming and halfway through I realize that he has a ADC chip. I need to begin at the beginning and work up so I can use this tool proficiently.
Thanks, Tru
Comments
Perhaps you're meaning an educational template. Because of the diversity of the use of a microcontroller like the Stamps, I don't think there's one other than starting with "What's a Microcontroller?" and the "Basic Stamp Syntax and Reference Manual". If you're interested in robotics, go through "Robotics with the BoeBot". If you're interested in analog interfacing, go through "Basic Analog and Digital". The "StampWorks Manual" is a good broad introduction to interfacing all sorts of external stuff. "IR Remote for the BoeBot Robot" is a good introduction to IR remotes. Each Parallax product, whether a sensor or motor controller, has links on its product page to documentation and sample code. There are also worked examples in the Nuts & Volts Columns. As you go through the basic introductory stuff, you'll notice that certain themes repeat. For example, there are only a few types of microcomputer interfaces (with devices). Some use asynchronous serial (SERIN and SEROUT). Some use what's called SPI or 3-wire or 4-wire (SHIFTIN and SHIFTOUT). Some use I2C. It's much better to learn these because of a specific need for a specific device and function than to learn them in abstract.