Many enhancements to the Stamp I command structure were made in the Stamp II. Commands have also been added, replaced or removed. The following table shows the differences between the two modules. For more detailed information on the differences between PBASIC1 and PBASIC2, download the BASIC Stamp I to BASIC Stamp II Conversion document.
BASIC Stamp I | BASIC Stamp II | Comments |
---|---|---|
BRANCH | BRANCH | Syntax Modifications |
BSAVE | Removed | |
BUTTON | BUTTON | |
COUNT | New Command | |
DEBUG | DEBUG | Enhanced |
EEPROM | DATA | Enhanced |
DTMFOUT | New Command | |
END | END | |
(Expressions) | (Expressions) | Enhanced |
FOR...NEXT | FOR...NEXT | Enhanced |
GOSUB | GOSUB | Enhanced |
GOTO | GOTO | |
HIGH | HIGH | |
IF...THEN | IF...THEN | Enhanced |
INPUT | INPUT | |
LET | (Expression) | Enhanced |
LOOKDOWN | LOOKDOWN | Enhanced |
LOOKUP | LOOKUP | Syntax Modifications |
LOW | LOW | |
NAP | NAP | |
OUTPUT | OUTPUT | |
PAUSE | PAUSE | |
POT | RCTIME | Enhanced |
PULSIN | PULSIN | Enhanced |
PULSOUT | PULSOUT | Enhanced |
PWM | PWM | Enhanced |
RANDOM | RANDOM | |
READ | READ | |
(Register Allocation) | (Register Allocation) | Enhanced |
REVERSE | REVERSE | |
SERIN | SERIN | Enhanced |
SEROUT | SEROUT | Enhanced |
SHIFTIN | New Command | |
SHIFTOUT | New Command | |
SLEEP | SLEEP | |
SOUND | FREQOUT | Enhanced |
STOP | New Command | |
TOGGLE | TOGGLE | |
WRITE | WRITE | |
XOUT | New Command |
This document is a supplimental guide to our printed BASIC Stamp I and II manual. It contains detailed information on the differences between the PBASIC1 and PBASIC2 languages and includes step-by-step instructions for converting programs between the two versions. The BASIC Stamp I to BASIC Stamp II Conversion document is available for free in .pdf format.
NOTE: You need to install the Windows or Macintosh Adobe Acrobat viewer to read and/or print this document.