NOTE: This is written for the BS2 and will run on any BASIC Stamp module. Modify the $STAMP directive (as required) before downloading to the BS1, BS2e, BS2sx, BS2p, BS2pe, or BS2px.
' HIGH_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
BASIC Stamp Help Version 2.5.4
Copyright © Parallax Inc.
8/8/2012