
Description New to the LCD2041 has added five non-volatile memory banks for
custom character storage. This is intended to allow you to create your
own custom bar graphs, medium/large numbers and startup screen.
However, each memory bank may be used to store a set of any eight
custom characters; with the only provision being that memory bank zero
contains the characters that will be used in the startup screen. By default
the memory banks will be loaded as follows:
[Bank] Description
0 Startup screen characters.
1 Horizontal bars
2 Vertical bars
3 Medium numbers
4 Large numbers
In order to save new custom characters into a memory bank, follow the
same process as you would for creating a custom character, see Sec-
tion 6.2 on page 26, only use 254 193 [Bank Number] before sending the
[ID] and character [Data].
Remembered Yes
6.4 Loading Custom Characters
Syntax
Hexadecimal 0xFE 0xC0 [Bank]
Decimal 254 192 [Bank]
Parameters
Parameter Length Description
Bank 1 Memory bank to save to (0-4).
Description This command is used to load the custom characters into the volatile
memory so that they may be used. If custom bar graph or number
characters are stored in the memory banks, this command may be used
instead of initializing the bar graph / number. To use this command send
the command bytes followed by the [Bank] that contains the custom
character data that you want to retrieve.
Remembered No
6.5 Save Startup Screen Custom Characters
Syntax
Hexadecimal 0xFE 0xC2 [refID] [data]
Decimal 254 194 [refID] [data]
Parameters
Parameter Length Description
refID 1 Character reference ID (0-7).
data 8 Character data.
Matrix Orbital LCD2041 28
Komentarze do niniejszej Instrukcji