Macros
9-74 Chapter 9
%
%
U
U
T
T
R
R
A
A
N
N
S
S
M
M
I
I
T
T
B
B
U
U
F
F
F
F
E
E
R
R
Syntax If Transmit Buffer Empty
%U
Get Number of Characters in Transmit Buffer
< comm > %U
Clear Transmit Buffer
< comm > * %U
Arguments
comm Communication port (1 → 4).
Notes
When used as an if condition, the %U command tests the port last specified by the %"
command.
See Also
%" Select Comm Port
If Transmit Buffer Empty
%U
Determines if the comm port transmit buffer currently selected by the %" command is empty.
Get Number of Characters in Transmit Buffer
< comm > %U
Copies the number of characters remaining in the specified comm port transmit buffer to the entry buffer.
Clear Transmit Buffer
< comm > *%U
Clears all remaining characters from the specified comm port transmit buffer.
%
%
W
W
W
W
A
A
I
I
T
T
F
F
O
O
R
R
K
K
E
E
Y
Y
P
P
R
R
E
E
S
S
S
S
Syntax Wait for Keypress
[ prompt ] %W
Arguments
prompt Text to be displayed as a prompt on the 2X5 character matrix of the LCD.
See Also
%Y If Yes (Enter)
Wait for Keypress
2%"%U
Determines if the transmit buffer on comm 2 is
empty.
1%U
Copies the number of characters remaining in the
comm port 1 transmit buffer to the entry buffer.
1%U
Copies the number of characters remaining in the
comm port 1 transmit buffer to the entry buffer.