EasyManuals Logo

Parallax 555-28027 User Manual

Parallax 555-28027
6 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #4 background imageLoading...
Page #4 background image
Copyright © Parallax Inc. Page 4 of 6
' {$STAMP BS2}
' {$PBASIC 2.5}
DEBUG "Warming up..."
PAUSE 20000 ' PIR warm-up time
DEBUG CLS
DO
DEBUG HOME, "IN0 = ", BIN1 IN0 ' Display state of PIR sensor
PAUSE 100 ' Small Delay
LOOP ' Repeat Forever
Note: When this program is run, the BASIC Stamp Debug Terminal will automatically open.
Propeller BOE and Propeller QuickStart
Propeller BOE Wiring Diagram
Propeller QuickStart Wiring Diagram
OBJ
pst : "Parallax Serial Terminal" ' Use Serial Terminal object
CON
_clkmode = xtal1 + pll16x ' Set clock mode
_xinfreq = 5_000_000
VAR
byte state ' Variable for storing PIR output
PUB PIR
dira[0]~ ' Set pin 0 to input

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Parallax 555-28027 and is the answer not in the manual?

Parallax 555-28027 Specifications

General IconGeneral
BrandParallax
Model555-28027
CategoryAccessories
LanguageEnglish

Related product manuals