Benutzer-Werkzeuge

Webseiten-Werkzeuge


lcd4linux:displays

Displays

collection-mini.jpg

This a photo of my collection of liquid crystal displays about two years ago. It did grow a lot in the meantime, but I couldn't find the time to take a new photo :-) Most of the displays have been contributed by various folks out there. Thank you guys!

To check which driver is builtin to the binary type

lcd4linux -l

Driver for the following devices are available:

  • serdisplib driver for all displays supported by the serdisplib project:
    • Optrex 323 displays
    • ALPS display with display module kit by pollin
    • EPSON E0855-2 display with display module kit by pollin
    • generic driver for PCD8544-based displays
    • generic driver for PCF8511-based displays
    • LPH7366 display with backlight
    • LPH7690 display
    • Nokia 7110 display (SED1565-based)
    • NEC 21a (Skyper) display module
    • LPH7508 display module with display module kit by pollin
    • Hyundai HP12542R display module with display module kit by pollin
    • Ericsson T20/T28/T29 i2c-displays
    • Ericsson R520/T65 i2c-displays
    • generic driver for T6963-based displays
    • Toshiba TLX1391 display (T6963-based)
    • T6963-based display module with built-in parallel to serial converter
    • generic driver for SED1330/SED1335-based displays
    • generic driver for S1D13700-based displays
    • displays driven by USB13700 USB module
    • driver for Nokia 3510i/3530 displays (S1D15G14-based)
    • driver for Nokia 6100 and compliant displays (S1D15G10-based)
    • generic driver for KS0108-based displays
    • c't includ USB-display
    • generic driver for LH155-based displays
    • Sharp M078CKA 240×64 (LH155-based)
    • Pictiva 96×36 OLED 1bit
    • Pictiva 96×64 colour OLED 16bit
    • Pictiva 128×64 yellow OLED 4bit
    • linux4media USB-interface E-5i-USB
    • linux4media USB-interface w/ 132×65 colour display
    • displays driven by GOLDELOX-MD1 module
    • Pictiva 256×64 yellow OLED 4bit
    • Alphacool USB-displays 200×64 or 240×128

On the driver overview page the drivers and their hardware connections are listed.

Functions available with every driver

Besides the functions of the individual drivers (see the driver pages), every display driver provides these functions for the Evaluator:

LCD::width()width of the display: columns on text displays, pixels on graphic displays
LCD::height()height of the display: rows on text displays, pixels on graphic displays
LCD::xres()width of one character in pixels (the width of the configured Font on graphic displays)
LCD::yres()height of one character in pixels (the height of the configured Font on graphic displays)
Layout::width()width of the layout framebuffer (which may be larger than the display, see Layout)
Layout::height()height of the layout framebuffer

They are useful to write configurations that adapt to the display, e.g. width LCD::width() for an image that should fill the display, or LCD::width() / LCD::xres() for the number of characters per line on a graphic display.

Drivers with GPIOs additionally provide LCD::GPO(n, value) and LCD::GPI(n), see the GPO widget.

Note: function names are case sensitive. The functions have to be written exactly as shown on the driver pages (LCD::backlight(), not LCD::Backlight()).

Graphic displays

All graphic drivers accept the entries Foreground, Background and Basecolor (see Colors) and Inverted (0 or 1, to swap active and inactive pixels) in their display section, even if the driver page does not mention them.

Due to the modular driver concept of LCD4Linux, it should be very easy to support other displays. If you have an unsupported display, know a bit of programming in C, have some spare time and want to read your name here, read the following Howto and start coding! If you need help, just drop us an email.


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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki