Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== 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: ==== <code> Display <name> { Driver 'serdisplib' Port <string> Model 'LPH7508' Font '6x8' } </code> see the [[:serdisplib|serdisplib]] page for (hopefully) more detailed documentation... ==== native LCD4Linux driver: ==== <code> Display <name> { Driver 'LPH7508' Port <string> Font '6x8' Contrast <number> Foreground <color> Background <color> Basecolor <color> } </code> ---- ===== 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 ===== <code> Display LPH7508-native { Driver 'LPH7508' Port '/dev/parports/0' Font '6x8' Contrast 15 } </code> <code> Display LPH7508-serdisplib { Driver 'serdisplib' Port 'PAR:/dev/parports/0' Model 'LPH7508' } </code> ---- lph7508.txt Last modified: 2020/07/17 18:33(external edit)