BASIC stamp manual v2.2
HIGH – BASIC Stamp Command Reference
Page 216 • BASIC Stamp Syntax and Reference Manual 2.2 • www.parallax.com
Demo Program (HIGH.bs2)
' 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. Connect an LED to P0 for a simple
' blinker.
' {$STAMP BS2}
Main:
HIGH 0
PAUSE 500
LOW 0
PAUSE 500
GOTO Main
END
1
A
ll
2
NOTE: This is written for the BS2 but
can be used for the BS1 and all other
BS2 models as well, by modifying the
$STAMP directive accordingly.