HIGH - BASIC Stamp Command Reference
Page 136 • BASIC Stamp Programming Manual 2.0b • www.parallaxinc.com
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} 'STAMP directive (specifies a BS2)
Loop:
HIGH 0
PAUSE 500
LOW 0
PAUSE 500
GOTO Loop
2
2
2
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.