Programming
22
TX-SK+ SoftKey Transmitter
SoftKey Programming
"S" denotes a hex number.
The SoftKey must be defined as
Device 1
.
Example
:
DEFINE_DEVICE
SOFTKEY = 1
TEXT PLACEMENT COMMANDS:
HEX DEC
PAGE FLIP: $0B 11
CLEAR PAGE: $0C 12
INVERSE VIDEO BAR: $1B 27
RETURN TO NORMAL VIDEO: $1C 28
WRITE TO SPECIFIED PAGE: $12 18
WRITE TO CURRENT PAGE: $11 17
EXAMPLES OF USAGE:
PAGE FLIP:
SEND_STRING SOFTKEY, "$0B,1" (THIS WILL FLIP THE SOFTKEY TO PAGE 1)
CLEAR PAGE:
SEND_STRING SOFTKEY, "$12,1,1,1,$0C" (THIS WILL CLEAR PAGE 1)
INVERSE VIDEO BAR:
SEND_STRING SOFTKEY,"$1B,1"(THIS WILL PRINT AN INVERTED VIDEO BAR ON ROW 1)
RETURN TO NORMAL VIDEO:
SEND_STRING SOFTKEY,"$1C,1"(THIS WILL REMOVE THE INVERTED VIDEO BAR ON ROW 1)
WRITE TO SPECIFIED PAGE:
SEND_STRING SOFTKEY, "$12,1,1,1,’ROW ONE’" (THIS WILL PRINT ’ROW ONE’ ON PAGE
1, ROW 1, STARTING AT COLUMN 1)
WRITE TO CURRENT PAGE:
SEND-STRING SOFTKEY, "$11,1,1,’ROW ONE’" (THIS WILL PRINT ’ROW ONE’ ON
CURRENT PAGE, ROW 1, STARTING AT
COLUMN 1)
SYNTAX FOR TRANSMISSION OF FUNCTION CODES:
PUSH[SOFTKEY, 1]
{ (THIS WILL CAUSE FUNCTION CODE 16 TO BE TRANSMITTED
TO WHEN BUTTON 1 IS PUSHED)
}
CLEAR command
Page number
WRITE TO PAGE command
ASCII Text
Column number
Row number
Page number
WRITE TO PAGE command
ASCII Text
Column number
Row number
WRITE TEXT command