trefon

This driver supports the USB LCD's made by TREFON electronic GmbH.

There are several different LCD types from TREFON; at the moment only the 16×2 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.


Display <name> {
    Driver    'TREFON'
    Size      <string>
    Backlight <0|1>
    asc255bug <0|1>
    Icons     <number>
}

Driver'TREFON'
Size<columns>x<rows> e.g. “16×2“
Backlightinitial backlight state, 0 = off, 1 = on
asc255bugset to 1 if you don't get solid blocks in bars, but an inverted P (the Portishead syndrome :-)
IconsNumber of user-defined chars reserved for Icons (default: 0)

The driver provides the following functions:

LCD::Backlight(n)sets the display backlight (01)

Display Trefon_16x2 {
    Driver   'TREFON'
    Size     '16x2'
    Backlight 1
    asc255bug 0
    Icons     1
}

  • trefon.txt
  • Last modified: 2020/07/17 18:33
  • (external edit)