====== USB2VFD driver ======
This driver supports the 40x2 "USB2VFD" vacuum fluorescent displays that are sold (e.g. on Aliexpress) as status displays for AIDA64. They show up as a serial port.
In AIDA64 these displays are configured as Matrix Orbital LK displays, but they are only roughly compatible:
* contrast and brightness commands are ignored
* the display freezes on every command it does not like; only 'go home' and 'go to position' work
* there are no user-defined characters
* nothing is displayed until the whole display buffer has been filled
The driver therefore keeps both lines in a buffer and always sends the complete 2x40 characters.
----
===== Display Section =====
Display {
Driver 'USB2VFD'
Port
Speed
BarChar
}
----
===== Parameters =====
|**Driver**|'USB2VFD'|
|**Port**|serial device the display is attached to (e.g. '/dev/ttyUSB0')|
|**Speed**|baud rate of the serial port, default is 19200|
|**BarChar**|ASCII code (1..255) of the character that is used for the filled part of bars. Default is 127 (0x7F), which is a full block on these displays.|
The size is fixed to 40x2, a //Size// entry is not evaluated.
----
===== Widgets =====
Only the [[:lcd4linux:widget_text|Text]] and the [[:lcd4linux:widget_bar|Bar]] widget are available. As the display has no user-defined characters, there are no icons, and a bar can only be filled in steps of whole characters.
Special characters of the display:
|%%|%%|shown as °C|
|\x7F|full block|
----
===== Example =====
Display USB2VFD {
Driver 'USB2VFD'
Port '/dev/ttyUSB0'
Speed 19200
}
----
===== Requirements =====
No external libraries. The driver is selected at build time with //--with-drivers=USB2VFD//.
----