The VFD-420 offers a terminal-style serial interface (like our 4x20 and 4x40 LCDs), with these advanced features:
| ASCII Value |
Control Code |
ASCII Name |
Function |
| 0 |
ctrl-@ |
NUL |
Null; ignored prior to buffer |
| 1 |
ctrl-A |
SOH |
Send cursor home (position 0, upper left corner) |
| 2 |
ctrl-B |
STX |
Begin big-character mode |
| 3 |
ctrl-C |
ETX |
End big-character mode |
| 4 |
ctrl-D |
ETO |
Hide cursor |
| 5 |
ctrl-E |
ENQ |
Ignored (no UL cursor) |
| 6 |
ctrl-F |
ACK |
Show blinking-block cursor |
| 7 |
ctrl-G |
BEL |
Pulse piezo buzzer output |
| 8 |
ctrl-H |
BS |
Backspace |
| 9 |
ctrl-I |
HTAB |
Tab to next multiple-of-4 column |
| 10 |
ctrl-J |
LF |
Smart linefeed; move down one row |
| 11 |
ctrl-K |
VTAB |
Vertical tab; move up one row |
| 12 |
ctrl-L |
FF |
Formfeed; clear the screen |
| 13 |
ctrl-M |
CR |
Carriage return; move to beginning of next line |
| 14 |
ctrl-N |
SO |
Return from power-down mode |
| 15 |
ctrl-O |
SI |
Enter power-down mode |
| 16 |
ctrl-P |
DLE |
Accept cursor-position data |
| 17 |
ctrl-Q |
DC1 |
Clear 4-line-tall column |
| 18 |
ctrl-R |
DC2 |
Accept right-alignment data |
| 19-26 |
- |
- |
All ignored |
| 27 |
ctrl-[ |
ESC |
Escape; begin multipart instruction (below) |
- Define custom character: ESC D n B0 B1 B2 B3 B4 B5 B6 B7 where n is the character number (0-7) and B0 - B7 are bytes mapping the pixels.
- Load (E)EPROM data: ESC E n where n is 0 (custom screen) or 1 (default custom characters).
- Write configuration to EEPROM: ESC W {data} where {data} is a sequence of 8 bytes setting startup options such as splash screen, brightness, operating mode, etc.
- Transfer screen contents to EEPROM: ESC X 0.
- Set brightness in 25% units: ESC n where n is a value from 0-3 (25% to 100%)
- Generate horizontal bargraph: ESC = {style}{width}{value} where style is A-H indicating type of bargraph; width is the number of characters wide the bar should occupy; and value is the number of bar positions that should be lit.
ESC instructions new in revision 6 and later (March 2001).
|