====== LPH7508 ======
{{:LPH7508.jpg}}
[[http://www.pollin.de|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|serdisplib]] driver or the 'native' LPH7508 driver.
The display has some symbols, they can be used as [[:widget_gpo|GPO's]]
----
===== Display Section =====
==== serdisplib driver: ====
Display {
Driver 'serdisplib'
Port
Model 'LPH7508'
Font '6x8'
}
see the [[:serdisplib|serdisplib]] page for (hopefully) more detailed documentation...
==== native LCD4Linux driver: ====
Display {
Driver 'LPH7508'
Port
Font '6x8'
Contrast
Foreground
Background
Basecolor
}
----
===== Parameters for LPH7508 driver =====
|**Driver**|'LPH7508'|
|**Port**|parport device the display is attached to (e.g.'/dev/parports/0')|
|**Font**|'6x8'|
|**Contrast**|initial contrast value, 0..31|
|**Foreground**|color of active pixels (RRGGBBAA or RRGGBB), default is opaque black '000000ff' (see [[:colors]] for details)|
|**Background**|color of inactive pixels (RRGGBBAA or RRGGBB), default is transparent 'ffffff00' (see [[:colors]] for details)|
|**Basecolor**|color 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:
|**Symbol**|**GPO No.**|**Description**|
|Battery frame|1|on/off|
|Battery level|2|bit field: first segment = bit 0, second = bit 1, ...|
|Earpiece|3|on/off|
|Triangle|4|on/off|
|Speak|5|on/off|
|Message|6|on/off|
|Antenna|7|on/off|
|Signal level|8|bit field: first segment = bit 0, second = bit 1, ...|
See the [[:widget_gpo|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'
}
----