28029 Parallax Inc, 28029 Datasheet - Page 274

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 262 · Smart Sensors and Applications
The next example program fetches custom character definitions from EEPROM and
sends them to the serial LCD using a subroutine named
to do before calling the subroutine is set the value of two variables:
charBase
(0, 1, 2...7). The
to look in EEPROM for the beginning of the character definition. For example, to
transfer the
the Parallax Serial LCD's character memory, use these three commands:
If your program has to choose among many different custom characters definitions, you
can replace
chooses one of the three different custom character definitions in the next example
program with a
Char1
or
Char4
Char9
custChar = 5
charBase = Char9
GOSUB Def_Cust_Char
Char2
. The
Char9
charBase = Char9
LOOKUP
custChar
will be copied to the
charBase
definition in the BASIC Stamp EEPROM to Custom Character 5 in
command. Depending on the value of
DATA
DATA
variable is for selecting which custom character slot to define
variable is used to tell the
with a
charBase
%11111,
%00011,
%11011,
%11011,
%11111,
%11111,
%11111,
%11111
%11111,
%11111,
%11111,
%11111,
%11011,
%11011,
%11000,
%11111
LOOKUP
.
.
.
.
.
.
.
.
.
variable.
command. Below is an example that
Def_Cust_Char
Def_Cust_Char
' * * * * *
' 0 0 0 * *
' * * 0 * *
' * * 0 * *
' * * * * *
' * * * * *
' * * * * *
' * * * * *
' * * * * *
' * * * * *
' * * * * *
' * * * * *
' * * 0 * *
' * * 0 * *
' * * 0 0 0
' * * * * *
counter
subroutine where
. All you have
custChar
, either
Char0
and
,

Related parts for 28029