Parallax BASIC Stamp 2e Programming Manual page 138

Table of Contents

Advertisement

HIGH - BASIC Stamp Command Reference
Demo Program (HIGH.bs2)
' This simple program sets I/O pin 0 high for 1/2 second and low for 1/2 second
' in an endless loop.
'{$STAMP BS2}
Loop:
HIGH 0
PAUSE 500
LOW 0
PAUSE 500
GOTO Loop
Page 136 • BASIC Stamp Programming Manual 2.0b • www.parallaxinc.com
'STAMP directive (specifies a BS2)
2
2
2
2
1
e
sx
p
NOTE: This is written for the BS2
but can be used for the BS1, BS2e,
BS2sx and BS2p also. Locate the
proper source code file or modify
the STAMP directive before
downloading to the BS1, BS2e,
BS2sx or BS2p.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BASIC Stamp 2e and is the answer not in the manual?

Table of Contents