Benutzer-Werkzeuge

Webseiten-Werkzeuge


lcd4linux:driver_glcd2usb

GLCD2USB driver

This driver supports GLCD2USB, a DIY USB interface for monochrome graphic displays by Till Harbaum. See the GLCD2USB homepage for the hardware.

The interface reports the resolution of the attached display itself, so there is no Size entry. It also has four buttons, which are available through the keypad widget.


Display Section

Display <name> {
    Driver      'GLCD2USB'
    Font        <string>
    Brightness  <number>
}

Parameters

Driver'GLCD2USB'
Fontfont size, specified as <width>x<height>, default is '6×8'
Brightnessinitial brightness of the backlight, 0..255

Plugins

The driver provides the following function:

LCD::brightness(n)set the brightness of the backlight to n (0..255)

Keypad

The four buttons of the interface are mapped to these keys of the keypad widget:

button 1left
button 2right
button 3confirm
button 4cancel

The buttons are polled every 100 msec, press and release events are reported.


Example

This is the entry from lcd4linux.conf.sample:

Display GLCD2USB {
    Driver 'GLCD2USB'
    Brightness 255
}

Requirements

libusb (0.1) is needed. The driver is selected at build time with –with-drivers=GLCD2USB.


lcd4linux/driver_glcd2usb.txt · Zuletzt geändert: von 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki