130-28029 Parallax Inc, 130-28029 Datasheet - Page 292
![KIT PARTS SMART SENSORS](/photos/9/0/90016/mfg_130-28029_sml.jpg)
130-28029
Manufacturer Part Number
130-28029
Description
KIT PARTS SMART SENSORS
Manufacturer
Parallax Inc
Datasheet
1.122-28029.pdf
(340 pages)
Specifications of 130-28029
Accessory Type
Education Kit
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
BASIC Stamp®
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
- Current page: 292 of 340
- Download datasheet (5Mb)
Page 280 · Smart Sensors and Applications
Now, the Main Routine in PingBarGraph.bs2 should look like this:
You can also replace the
measurements on the bottom row. Remember that you will have to send the LCD a
control code to place the cursor on Line 1 character-0, instead of using
√
√
√
√
√
√
√
√
Open PingMeasureCm.bs2 from Chapter 2, Activity #2 (page 48) into the
BASIC Stamp Editor.
Open HorizBarGraph.bs2 (this activity), and save it as PingBarGraph.bs2.
Shade and copy the
them into the
Replace the
Routine
Add a command just before
to
Then move the
' -----[ Main Routine ]------------------------------------------------
DO
LOOP
Save the modified program, test it, and verify that it works.
Try it!
PULSOUT 15, 5
PULSIN 15, 1, time
cmDistance = CmConstant ** time
DEBUG HOME, DEC3 cmDistance, " cm"
value = cmDistance
GOSUB Bar_Graph
PAUSE 100
cmDistance
DO
...
LOOP
CON
DEBUG
.
PAUSE 100
and
the commands in PingMeasureCm.bs2's
DEBUG
CON
and
VAR
command with a
and
sections in PingBarGraph.bs2.
DEBUGIN
command so that it comes just before
GOSUB Bar_Graph
VAR
directives from PingDistance.bs2, and paste
commands in PingBarGraph.bs2's Main
' Main loop
' Display as bar graph
' Repeat main loop
SEROUT
that sets the
command that displays the
DO
value
...
HOME
LOOP
LOOP
variable equal
.
.
.
Related parts for 130-28029
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![130-32000](/photos/8/99/89967/mfg_130-32000_tmb.jpg)
Part Number:
Description:
KIT PROPELLER EDU PROJECT PARTS
Manufacturer:
Parallax Inc
Datasheet:
![130-28176](/photos/8/99/89975/mfg_130-28176_tmb.jpg)
Part Number:
Description:
KIT PARTS PROCESS CONTROL
Manufacturer:
Parallax Inc
Datasheet:
![30008](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
![70009](/photos/26/92/269208/70009-l_tmb.jpg)
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
![27404](/photos/26/91/269197/27404-l_tmb.jpg)
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
![70016](/photos/8/99/89966/mfg_70016_tmb.jpg)
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
![30008](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
![70009](/photos/26/92/269208/70009-l_tmb.jpg)
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
![28135](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
![SX18AC/SO](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: