Genovation, Inc.
36
MiniTermPro
‘R’ – 52h – Preset LCD Rotation String (v4.10 and greater)
This command is used to preload a null-terminated string into the LCD rotation
buffer. You
must
include the null character at the end to return to normal
command mode. The string will not be visible on the display until the Velocity
command is issued (see ‘V’ 0x56).
This command is primarily used to present text to a user that is too long to
display on the smaller 1 x 16 LCD. The buffer accepts up to 32 characters.
Example: Pre-load the string “Mary had a little lamb. “
Prefix
Command
Type
String
String
…
String
String
String
String
ASCII:
@
R
M
a
…
b
.
^@
Dec:
64
82
77
97
…
98
46
32
0
Hex:
40h
52h
4Dh
61h
…
62h
2Eh
20h
00h
Note that the last three characters are period, space and null.
‘V’ – 56h – Rotating String Velocity (v4.10 and greater)
Once a string has been preloaded using the ‘R’ command, the string can be
shown, rotated at various speeds and stopped using the velocity command. A
velocity of 0 stops the rotation. Velocities of 1 through 7 set the rotation speed in
characters per second. Only the three least significant bits of the velocity are
(currently) implemented.
The parameter byte:
0
0
0
0
0
v
v
v
In Line Edit mode, the ‘V’ command can be used in conjunction with the ‘K’
command (Next User Key Press Clears LCD). This allows for longer prompts for
the user such as “Press ENTER to continue… “.
Example 1: Show and rotate the pre-loaded string at 2 characters per second.
Prefix Command Type
Param
ASCII:
@
V
^B
Dec:
64
86
2
Hex:
40h
56h
02h