BASIC stamp manual v2.2
Quick Start Guide
Page 32 • BASIC Stamp Syntax and Reference Manual 2.2 • www.parallax.com
Select Run → Identify
Verify that the BASIC Stamp was detected
on one of the COM ports.
Figure 2.3: Test your PC
connection to the BASIC Stamp.
4) Enter a $STAMP Directive into the Editor window by clicking on the
toolbar icon for the BASIC Stamp module you are using. (Hold the
cursor over the icons for flyover help labels.) The example below
shows the Stamp Directive that would be inserted for the BS2.
' {$STAMP BS2}
5) Enter a $PBASIC Directive into the Editor window with the toolbar
icon. For a BS1, you must use PBASIC 1.0. All BS2 series modules can
use PBASIC 2.0 or 2.5. The command set differences between PBASIC
2.0 and 2.5 are covered in Chapter 5.
Click on the icon that corresponds to your
BASIC Stamp model to automatically place
the $STAMP directive in your program.
Click on the icon for the PBASIC language
version that is compatible with your BASIC
Stamp model.
Figure 2.4: Entering the $STAMP
and $PBASIC directives from the
toolbar
The examples shown would be used
for programming a BS2 module in
PBASIC 2.5
You should now see both a $STAMP directive and $PBASIC directive
on your PC screen:
' {$STAMP BS2}
' {$PBASIC 2.5}
a) Note: These directives may be typed in from the keyboard, but
failure to type this line properly may cause the editor to fail to
recognize your BASIC Stamp during the next step.