130-28029 Parallax Inc, 130-28029 Datasheet - Page 303
![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: 303 of 340
- Download datasheet (5Mb)
' -----[ Subroutines - Disp_Cust_Char ]---------------------------------------
' This subroutine displays a custom character.
' be set to either Line0 or Line1, and the cursor variable can be set
' to a value between 0 and 15.
' LCD's custom characters and should be set to a value between 0 and 7.
Disp_Cust_Char:
Your Turn - Graphical Two-Axis Tilt Display
Indicating tilt with the TwoAxisBarDisplay.bs2 involves
the accelerometer's x and y axis measurements. It also requires scaling and offset to fit
the accelerometer measurements into a vertical scale of 31 and a horizontal scale of 17.
The horizontal scale also has to be reversed. Figure 7-5 shows how the accelerometer's x
and y axes relate to the LCD's horizontal and vertical axes. Note that that the direction of
the positive y-axis points away from the direction that values increase on the LCD's
horizontal axis. Whenever the scaled y-axis value is 16, the display should show 0, and
whenever the scaled y-axis value is 0, the display should show 16. The way to correct
this is to use a command that subtracts the scaled y-axis value from 16. Essentially, this
boils down to
SELECT cursor
RETURN
SEROUT LcdPin, T9600,
RETURN
CASE 0 TO 7
CASE 8
CASE 9 TO 16
ENDSELECT
GOSUB Disp_Cust_Char
cursor = 7
GOSUB Disp_Cust_Char
cursor = 8
GOSUB Disp_Cust_Char
cursor = cursor - 1
GOSUB Disp_Cust_Char
cursor = cursor + 1
[line + cursor, custChar]
cursor
= 16 − (scaled y value).
The custChar variable selects one of the
Chapter 7: LCD Bar Graphs for Distance and Tilt · Page 291
' Print custom character
' Cursor 0 to 7, no changes
' Cursor 8, display at 7 & 8
' Cursor 9 to 16, display 1 left
The line variable can
PULSIN
commands to acquire
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: