wiki:TREFON

TREFON Logo

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 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.

TREFON USB LCD green TREFON USB LCD blue


Display Section

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

Parameters:

Driver'TREFON'
Size<columns>x<rows> e.g. "16x2"
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)

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
}

Last modified 12 years ago Last modified on 08/06/06 09:32:16

Attachments (3)

Download all attachments as: .zip