28029 Parallax Inc, 28029 Datasheet - Page 33

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
Figure 1-14: Custom Character Define Commands
After sending the code that tells the LCD which custom character you are about to define,
you have to then send eight bytes that describe the character. The LCD uses the lowest
five bits of each byte it receives to describe each five-pixel-wide line in the character.
Figure 1-15 shows an example of defining Custom Character 0 to be an hourglass that's
just been turned upside down.
Notice how each successive value in the
in the custom character. Notice also how the 1s correspond to black pixels, and the 0s
correspond to white.
Here is another custom character definition of an hourglass with its four pixels of sand
drained into its bottom chamber. This definition uses
SEROUT 14, 84, [248,
The
power is turned on and off the custom characters are erased. Since the BASIC Stamp and
LCD share the same power supply, the BASIC Stamp program also restarts when the power
is reset. It's a good practice to define custom characters you plan to use at the beginning of
a program, so that the BASIC Stamp can define the custom characters every time its power
is connected.
SEROUT
%00000,
%11111,
%11111,
%01110,
%00100,
%01010,
%10001,
%11111]
custom character definitions are not permanent. Each time the LCD's
SEROUT
Chapter 1: Parallax Serial LCD Display · Page 21
command corresponds to a row of pixels
Figure 1-15
Redefining Custom Character 0
255
to tell the LCD to make it

Related parts for 28029