BASIC Stamp HomeWork Board
' {$STAMP BS2}
' {$PBASIC 2.5}
PAUSE 500
' Brief wait at start
DO
DEBUG HOME, "Phototransistor 1: ", BIN1 IN0, CR,
"Phototransistor 2: ", BIN1 IN1
PAUSE 250
' Wait 1/4 second
LOOP
Note: When this program is run the BASIC Stamp Debug window will automatically open.
Copyright © Parallax Inc.
Page 3 of 5
Need help?
Do you have a question about the 28036 and is the answer not in the manual?