28029 Parallax Inc, 28029 Datasheet - Page 295
28029
Manufacturer Part Number
28029
Description
KIT PARTS SMART SENSORS W/TEXT
Manufacturer
Parallax Inc
Datasheet
1.122-28029.pdf
(340 pages)
Specifications of 28029
Accessory Type
Parts Kit
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
BASIC Stamp® or Javelin Modules
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Other names
28029PAR
- Current page: 295 of 340
- Download datasheet (5Mb)
Example Program: TestVerticalBars.bs2
This example program displays the 16 different vertical bar custom characters on the
Parallax Serial LCD's Line 0, character-8. It does so in rapid succession, over and over
again. It also displays the number that the
' -----[ Title ]--------------------------------------------------------------
' Smart Sensors and Applications - TestVerticalBars.bs2
' Displays sixteen different vertical bar characters on Line 0, character-8
' of the Parallax Serial LCD.
' {$STAMP BS2}
' {$PBASIC 2.5}
' -----[ I/O Pins ]-----------------------------------------------------------
LcdPin
' -----[ Constants ]----------------------------------------------------------
T9600
LcdCls
LcdOn
Line0
Line1
Define
' -----[ Variables ]----------------------------------------------------------
custChar
index
rowMap
cursor
value
line
' -----[ Initialization ]-----------------------------------------------------
' LCD initializiation.
PAUSE 100
√
√
√
√
Open TestVerticalBars.bs2 in the BASIC Stamp Editor.
Run it and verify that all the custom characters in Figure 7-3 are displayed.
Increase the
Re-run the program and verify that the LCD bars correctly represent the numbers
displayed in the Debug Terminal.
PIN
CON
CON
CON
CON
CON
CON
VAR
VAR
VAR
VAR
VAR
VAR
PAUSE
14
84
12
22
128
148
248
Byte
Nib
Byte
Byte
Byte
Byte
command’s
Chapter 7: LCD Bar Graphs for Distance and Tilt · Page 283
Duration
value
variable stores in the Debug Terminal.
argument.
' Target device = BASIC Stamp 2
' Language
' I/O pin connected to LCD's RX
' True, 8-bits, no parity, 9600
' Form feed -> clear screen
' Turns display on
' Line 0, character 0
' Line 1, character 0
' Address defines cust char 0
' Custom character selector
' Eeprom index variable
' 5-pixel dotted line
' Cursor placement
' Value to be graphed
' Line0 or Line1
' Debounce power supply
= PBASIC 2.5
Related parts for 28029
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
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:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: