lph7508

LPH7508

lph7508.jpg

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 <name> {
    Driver 'serdisplib'
    Port   <string>
    Model  'LPH7508'
    Font   '6x8'
}

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

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

Driver'LPH7508'
Portparport device the display is attached to (e.g.'/dev/parports/0')
Font'6×8'
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)

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.


The LPH7508 driver provides the following function:

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

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'
}

  • lph7508.txt
  • Last modified: 2020/07/17 18:33
  • (external edit)