122-28029 Parallax Inc, 122-28029 Datasheet - Page 272
122-28029
Manufacturer Part Number
122-28029
Description
GUIDE STUDENT SMART SENSORS
Manufacturer
Parallax Inc
Datasheet
1.122-28029.pdf
(340 pages)
Specifications of 122-28029
Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Smart Sensors
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
- Current page: 272 of 340
- Download datasheet (5Mb)
Page 260 · Smart Sensors and Applications
' Smart Sensors and Applications - Ch6_Project2.bs2
' IMPORTANT, follow the instructions to come up with your
' own values.
' Examine the solution to Project 2 for information on how to
' determine your own StepLow and StepHigh constants.
' {$STAMP BS2}
' {$PBASIC 2.5}
StepLow CON 2900
StepHigh CON 3300
y
yOld
stepCnt VAR Word
yOld = 3300
PAUSE 250
SEROUT 14, 84, [22, 12]
PAUSE 5
DO
LOOP
PULSIN 7, 1, y
IF (y <= 2900 AND yOld >= 3300) OR (y >= 3300 AND yOld <= 2900) THEN
ENDIF
SEROUT 14, 84, [128, DEC5 stepCnt / 2]
yOld = y
stepCnt = stepCnt + 1
VAR Word
VAR Word
You will find the Solutions section of Chapter 6.
' Debounce the power supply
' Start LCD & clear display
' Pause 5 ms for clear display
Related parts for 122-28029
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
MANUAL FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
GUIDE STUDENT PROCESS CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
MANUAL PROPELLER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
LEAD WIRES FLYING CABLE III/IV
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
BOARD ADAPTER AND FLY LEADS
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
PLATFORM CABLE USB II
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
KIT STARTER COOLRUNNER-II BUNDLE
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: