EasyManua.ls Logo

Parallax BASIC Stamp 2e - Page 190

Default Icon
353 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
LOW - BASIC Stamp Command Reference
Page 188 BASIC Stamp Programming Manual 2.0b www.parallaxinc.com
Demo Program (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.
'{$STAMP BS2} 'STAMP directive (specifies a BS2)
Loop:
HIGH 0
PAUSE 500
LOW 0
PAUSE 500
GOTO Loop
1
2
e
2
sx
2
p
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.

Table of Contents

Related product manuals