wiki:LPH7508

LPH7508

picture of a LPH7508

Pollin Electronik sells these displays together with an interface board for the parallel port.
LCD4Linux supports this display sets with two drivers: You can either use the serdisplib driver or the 'native' LPH7508 driver.

The display has some symbols, they can be used as GPO's


Display Section

serdisplib driver:

Display <name> {
    Driver 'serdisplib'
    Port   <string>
    Model  'LPH7508'
    Font   '6x8'
}

see the serdisplib page for (hopefully) more detailed documentation...

native LCD4Linux driver:

Display <name> {
    Driver     'LPH7508'
    Port       <string>
    Font       '6x8'
    Contrast   <number>
    Foreground <color>
    Background <color>
    Basecolor  <color>
}

Parameters for LPH7508 driver

Driver'LPH7508'
Portparport device the display is attached to (e.g.'/dev/parports/0')
Font'6x8'
Contrastinitial contrast value, 0..31
Foregroundcolor of active pixels (RRGGBBAA or RRGGBB), default is opaque black '000000ff' (see colors for details)
Backgroundcolor of inactive pixels (RRGGBBAA or RRGGBB), default is transparent 'ffffff00' (see colors for details)
Basecolorcolor of virtual backlight (RRGGBB), default is white 'ffffff' (see colors for details)

GPO's

The display has some symbols which can be controlled by GPO's:

SymbolGPO No.Description
Battery frame1on/off
Battery level2bit field: first segment = bit 0, second = bit 1, ...
Earpiece3on/off
Triangle4on/off
Speak5on/off
Message6on/off
Antenna7on/off
Signal level8bit field: first segment = bit 0, second = bit 1, ...

See the GPO widget for how to use these symbols.


Plugins

The LPH7508 driver provides the following function:

LCD::contrast(n)set contrast to n (0..31)

Examples

Display LPH7508-native {
    Driver  'LPH7508'
    Port    '/dev/parports/0'
    Font    '6x8'
    Contrast 15
}
Display LPH7508-serdisplib {
    Driver 'serdisplib'
    Port   'PAR:/dev/parports/0'
    Model  'LPH7508'
}

Last modified 12 years ago Last modified on 08/17/06 22:14:20

Attachments (1)

Download all attachments as: .zip