Basic Stamp Homework Board - Parallax 28036 Manual

4-directional tilt sensor kickstart
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 28036 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents