Benutzer-Werkzeuge

Webseiten-Werkzeuge


lcd4linux:driver_astusb

ASTUSB driver

This driver supports the DIY „AST USB-LCD“ interface: an ATtiny2313 that connects a HD44780 based text display to USB. Schematics and firmware can be found at http://ast.m-faq.de/USB-LCD/USB-LCD.htm.

The interface is detected by its USB vendor and product ID (0x03eb / 0x7a53). Displays with two controllers (more than two rows and more than 20 columns) are supported.


Display Section

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

Parameters

Driver'ASTUSB'
Size<columns>x<rows> e.g. '20×4'. Required.
BusBus name as displayed during USB scan (e.g. '003'). Only required when using more than one interface.
DeviceDevice name as displayed during USB scan (e.g. '004'). Only required when using more than one interface.
Backlightinitial backlight state (0 = off, 1 = on)
IconsNumber of user-defined chars reserved for Icons (default: 0)
asc255bugset to 1 if you don't get solid blocks in bars, but an inverted P

Plugins

The driver provides the following function:

LCD::backlight(n)switch the backlight on (n = 1) or off (n = 0)

Example

This is the entry from lcd4linux.conf.sample:

Display ASTUSB {
    Driver 'ASTUSB'
    Size '20x4'
    Backlight 1
}

Requirements

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


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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki