130-28029 Parallax Inc, 130-28029 Datasheet - Page 282

KIT PARTS SMART SENSORS

130-28029

Manufacturer Part Number
130-28029
Description
KIT PARTS SMART SENSORS
Manufacturer
Parallax Inc
Datasheet

Specifications of 130-28029

Accessory Type
Education Kit
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
BASIC Stamp®
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Page 270 · Smart Sensors and Applications
Line 1. By adding
line and character the cursor is placed on. The
value between 0 and 7 will cause the custom character to be printed where the cursor has
been placed. The second value the
a value between 0 and 7. This value makes the LCD print a custom character where the
cursor was placed.
Your Turn - Multiple Copies of Custom Characters?
If you have lots of different custom characters, but you only want to display one at any
given time, you only need one of the LCD's custom character definitions. However, if
you want more than one different custom character to be displayed by the LCD at the
same time, use more than one of the different custom character definitions in the LCD's
character memory.
The main
Custom Character 5 are also changing! Why? When the definition of Custom Character
5 changes, all the Custom Character 5s on the display are automatically updated.
In some cases, this is a desirable. For example, you can get some interesting visual
effects from making 32 copies of one custom character and then repeatedly updating the
character definition. For situations where you want to display more than one custom
Disp_Cust_Char:
Save CustomEepromCharacters.bs2 as CustomEepromCharactersYourTurn.bs2.
Add this code block to the program's Initialization section.
custChar = 5
line = Line0
cursor = 9
GOSUB Disp_Cust_Char
line = Line1
GOSUB Disp_Cust_Char
cursor = 8
GOSUB Disp_Cust_Char
Run the program, and observe the result displayed on the LCD.
DO
SEROUT LcdPin, T9600,
RETURN
...
LOOP
[line + cursor, custChar]
cursor
is only updating Line 0, character 8, yet the other three instances of
(a value between 0 and 15) this gives you control over which
SEROUT
command sends is
custChar
variable, which contains a
custChar
, which contains

Related parts for 130-28029