BASIC stamp manual v2.2

LOW – BASIC Stamp Command Reference
Page 282 BASIC Stamp Syntax and Reference Manual 2.2 www.parallax.com
Demo Program (LOW.bs2)
' LOW.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
NOTE: This example program can be
used with the BS1 and all BS2 models
by changing the $STAMP directive
accordingly.
1
A
ll
2