{{:Trefon-Logo.png}}
This driver supports the USB LCD's made by [[http://www.trefon.de|TREFON electronic GmbH]].
There are several different LCD types from TREFON; at the moment only the 16x2 display is tested and supported. Other displays may follow.
LCD4Linux communicates with these displays with libusb. libusb support (and therefore this driver) is disabled if //configure// cannot find the file //usb.h//. You need to install //libusb-dev// or something similar (depends on your distribution).
Power for the display will be supplied by USB. Backlight can be controlled per software.
{{:trefon1.png}}
{{:trefon2.png}}
----
===== Display Section =====
Display {
Driver 'TREFON'
Size
Backlight <0|1>
asc255bug <0|1>
Icons
}
----
===== Parameters: =====
|**Driver**|'TREFON'|
|**Size**|x e.g. "16x2"|
|**Backlight**|initial backlight state, 0 = off, 1 = on|
|**asc255bug**|set to 1 if you don't get solid blocks in bars, but an inverted P (the //Portishead syndrome// :-)|
|**Icons**|Number of user-defined chars reserved for Icons (default: 0)|
----
===== Plugins: =====
The driver provides the following functions:
|**LCD::Backlight(n)**|sets the display backlight (0|1)|
----
===== Example =====
Display Trefon_16x2 {
Driver 'TREFON'
Size '16x2'
Backlight 1
asc255bug 0
Icons 1
}
----