Genovation, Inc.
38
MiniTermPro
‘U’ – 55h – Create User-Defined LCD character (v4.20 and greater)
This command is used to store the bit pattern for one of eight possible user
defined characters. The characters are numbered 0 through 7 and the command
format is:
@ U <char #> <data0, data1, … data7>
Where:
@ is the command prefix.
U is the command.
Char # is a value from 0x00 through 0x07.
Data0 … Data7 is the 8-byte bit pattern that describes the character:
Once defined, the characters can be shown on the LCD using (recommended)
ASCII character set values 0x18 through 0x1F. User defined char 0x00 shows
up at ASCII character set location 0x18 and user defined char 0x07 shows up at
ASCII character set location 0x1F. These characters may also show up in the
first ASCII character set column. Note that creating a user-defined character will
overwrite the ones provided by default in the firmware. These settings are kept
in RAM and are thus volatile.
Example: Pre-load the character shown above in the first user char location.
Prefix
Cmd
Type
Char
Data
0
Data
1
Data
2
Data
3
Data
4
Data
5
Data
6
Data
7
ASCII:
@
U
^@
^@
^D
^B
^_
^B
^D
^@
^@
Dec:
64
85
0
0
4
2
31
2
4
0
0
Hex:
40h
55h
00h
00h
04h
02h
1Fh
02h
04h
00h
00h
Note: To then see the character on the LCD you should send 0x18 (^X) to the
keypad.