28029 Parallax Inc, 28029 Datasheet - Page 34

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-16: After Defining Custom Characters 0 and 7
Page 22 · Smart Sensors and Applications
Custom Character 7. It also uses a technique for drawing the characters with asterisks in
the comments to the right of the
all the binary values set to %00000, and then draw the character with asterisks in the
comment to the right. After it looks right, use the asterisks to dictate which zeros should
be changed to ones.
LCD's custom characters.
With these new custom character definitions, you can write a loop to make the hourglass
toggle between empty and full, indicating that the user should wait. The
does this by first placing the cursor on Line 0, character 5 in the LCD. Then it displays
Custom Character 0, the hourglass that was just turned upside down. After a brief
the program sends the backspace command (8) to get the cursor back to character 5.
Then, it sends Custom Character 7, the hourglass with the sand drained into the base. By
repeating this sequence, it looks as though the hourglass is turned upside-down, drained,
turned again, drained again, and so on.
Figure
1-16
SEROUT 14, 84, [255,
Custom characters are sometimes defined with hexadecimal values. You will even see
this in example programs available for download from the Parallax Serial LCD product
pages at www.parallax.com.
work, try the activity in Appendix B: Hexadecimal Character Definitions.
shows how the two
%00000,
%11111,
%10001,
%01010,
%00100,
%01110,
%11111,
%11111]
SEROUT
SEROUT
For information on how hexadecimal character definitions
command. Start with a
commands just discussed will redefine the
' Define Custom Character 7
'
' * * * * *
' *
'
'
'
' * * * * *
' * * * * *
*
* * *
*
*
*
SEROUT
DO
command with
...
LOOP
PAUSE
below
,

Related parts for 28029