28029 Parallax Inc, 28029 Datasheet - Page 308

KIT PARTS SMART SENSORS W/TEXT

28029

Manufacturer Part Number
28029
Description
KIT PARTS SMART SENSORS W/TEXT
Manufacturer
Parallax Inc
Datasheet

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
Page 296 · Smart Sensors and Applications
Solutions
E1. Example solution:
Q1. The
Q2. The programs have to set two variables before making the
Q3. Set the value of the
Q4. No, because all instances of the same custom character currently displayed
Q5. The
Q6. Each of the eight rows in the custom character definition will have the same
Q7. When the
subroutine call:
store the value the program will use to tell the LCD to display the custom
character. The LCD’s custom character definitions can be a value from 0 to
7, so
directive
variable = SymbolName
a
to pass the starting address of a custom character’s
Def_Cust_Char
subroutine. The
these two variables before telling the LCD to display the custom character
at that location.
by the LCD will be updated as soon as the character definition is updated.
%10000, %11000, %11100, or %11110. Each digit corresponds to one of
the five vertical columns of pixels in a custom character. If the value is 1,
the pixels in that column will be set to black. If it’s 0, they will be left
white.
pattern, so the program only has to send the same row byte eight times to
define each row of the custom character.
black with
SEROUT 14, 84, [%00000]
DATA
Symbol
dotLine
custChar
directive defined by
Symbol
IF…THEN
SEROUT 14, 84, [%11111]
name.
variable ends up storing one of five values: %00000,
custChar
subroutine.
has to fall in that range. The custom character’s
name has to be stored in the
Disp_Cust_Char
condition evaluates to 1, the pixels for the row are set
cursor
and
stores the EEPROM address of the first byte in
SymbolName
.
charBase
and
routine will position the cursor using
line
; otherwise, they are set white with
. The
into variable, it makes it possible
variables before calling the
charBase
custChar
DATA
Def_Cust_Char
variable. Since
directive to the
variable should
DATA

Related parts for 28029