Benutzer-Werkzeuge

Webseiten-Werkzeuge


lcd4linux:driver_dpf

DPF

Display Section

Display <name> {
    Driver       'DPF'
    Port         '<string>'
    Font         '<string>'
    Orientation  <number>
    Backlight    <number>
    Foreground   color in hex
    Background   color in hex
    Basecolor    color in hex
}

Parameters

Driver'DPF'
PortNormally 'usb0'. If you have more than one dfp connected: 'usb0„ ist the first, 'usb1' the second dpf, etc.
FontDefault: '6×8'; but all fonts sizes are available.
Orientationthe dpfs logical orientation. For dpfs with height != width: 0 = landscape, 1 = portrait, 2 = reverse landscape, 3 = reverse portrait. For dpfs with height = width: 0 = standard, 1 = rotate 90° CW, 2 = rotate 180°, 3 = rotate 90° CCW. Note: physical orientation does not matter. Rotation is done in the driver.
BacklightSet the dpfs backlight/brightness. Values: 0-7 (0 = off, 7 = max).
ForegroundFont color.
BackgroundBackround color.
Basecolor

Examples

Display dpf {
   Driver 'DPF'
   Port 'usb0'
   Font '8x10'
   Orientation 0
   Backlight 7
   Foreground 'ffffff' #white
   Background '000000' #black
   Basecolor 'ff0000' #red
}

Requirements

The driver is self-contained. No external headers/libraries needed.


lcd4linux/driver_dpf.txt · Zuletzt geändert: 2022/02/16 14:57 von 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki