This table lists the names for escape sequences and other special instructions that the SER_SEND
instruction understands. You may embed these names (within <> brackets) in a string to be sent by SER_SEND
and the correct code(s) will be automatically substituted. For example, SER_SEND("<DEFINE_CHAR>0<0,4,2,31,2,4,0,0>")
(if sent to a BPP-, ILM-, or VFD- series display) would redefine custom character 0 to the bitmap made up of the value 0,4,2...0.
Note that not all displays support all instructions.
Name | ASCII Code(s) | Display Series |
DEFINE_CHAR | 27 68 (ESC D) | BPP,ILM,VFD |
EEPROM_TO_SCREEN | 27 69 (ESC E) | BGX,SGX |
SET_ADDRESS | 27 65 (ESC A) | BGX,SGX |
WRITE_BYTE | 27 66 (ESC B) | BGX,SGX |
CLEAR_TO_BYTE | 27 67 (ESC C) | BGX,SGX |
DOWNLOAD_GRAPHIC | 27 68 71 (ESC DG) | BGX,SGX |
SET_FONT | 27 70 (ESC F) | BGX,SGX |
SET_INK | 27 73 (ESC I) | BGX,SGX |
LINE | 27 76 (ESC L) | BGX,SGX |
LINE_TO | 27 84 (ESC T) | BGX,SGX |
MODE_OR | 27 77 64 (ESC M 0) | BGX,SGX |
MODE_XOR | 27 77 65 (ESC M 1) | BGX,SGX |
OVERLAY_OR | 27 79 64 (ESC O 0) | BGX |
OVERLAY_XOR | 27 79 65 (ESC O 1) | BGX |
OVERLAY_AND | 27 79 66 (ESC O 2) | BGX |
POINT | 27 80 (ESC P) | BGX,SGX |
REVERSE_LINES | 27 82 (ESC R) | SGX |
REVERSE_NONE | 27 82 64 (ESC R 0) | BGX |
REVERSE_GRAPHICS | 27 82 65 (ESC R 1) | BGX |
REVERSE_TEXT | 27 82 66 (ESC R 2) | BGX |
REVERSE_BOTH | 27 82 67 (ESC R 3) | BGX |
MODE_OR | 27 77 64 (ESC M 0) | BGX,SGX |
LAYERS_BOTH_ON | 27 89 64 (ESC Y 0) | BGX |
LAYERS_GRAPHICS_OFF | 27 89 65 (ESC Y 1) | BGX |
LAYERS_TEXT_OFF | 27 89 66 (ESC Y 2) | BGX |
LAYERS_BOTH_OFF | 27 89 67 (ESC Y 3) | BGX |
TRANSFER_TO_EE | 27 88 (ESC X) | BGX,SGX |
ZAP_GRAPHICS_SETTINGS | 27 90 65 (ESC Z 1) | BGX |
ZAP_TEXT_SETTINGS | 27 90 66 (ESC Z 2) | BGX |
ZAP_BOTH_SETTINGS | 27 90 67 (ESC Z 3) | BGX |