27297 Parallax Inc, 27297 Datasheet - Page 96
27297
Manufacturer Part Number
27297
Description
KIT STAMPWORKS WITH BS2-IC
Manufacturer
Parallax Inc
Datasheet
1.27297.pdf
(230 pages)
Specifications of 27297
Lead Free Status
Contains lead
Product
Microcontroller Accessories
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
- Current page: 96 of 230
- Download datasheet (3Mb)
Page 86 · StampWorks
The standard LCD font is five bits wide by seven bits tall. You can create custom
characters that are eight bits tall, but as explained before the eighth line is generally
reserved for the underline cursor.
Here’s an example of a custom character
definition:
The shape of the character is determined by the ones and zeros in the data bytes. A
1 in a given bit position will light a pixel; zero will extinguish it.
The bit patterns for custom characters are stored in the BASIC Stamp’s EEPROM with
DATA statements. To move the patterns into the LCD the cursor is moved to the
CGRAM then each data byte is written. Since the LCD has been initialized for auto-
incrementing, there is no need to address each data byte individually. Before the
characters can be used, the display must be returned to “normal” mode by moving
the cursor back to the DDRAM area. The usual method is to clear the display or
home the cursor.
Interestingly, the LCD retrieves the bit patterns from memory while refreshing the
display. In advanced applications, the CGRAM memory can be updated while the
program is running to create unusual display effects.
The heart of this program is the animation loop. This code grabs a character from
the second message, then, for each character in that message, displays the
animation sequence at the desired character location on the second line of the LCD.
A LOOKUP table is used to cycle the custom characters for the animation sequence.
At the end of the sequence, the new character is revealed.
Related parts for 27297
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: