Display <name> { Driver 'DPF' Port '<string>' Font '<string>' Orientation <number> Backlight <number> Foreground color in hex Background color in hex Basecolor color in hex }
Driver | 'DPF' |
Port | Normally 'usb0'. If you have more than one dfp connected: 'usb0“ ist the first, 'usb1' the second dpf, etc. |
Font | Default: '6×8'; but all fonts sizes are available. |
Orientation | the 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. |
Backlight | Set the dpfs backlight/brightness. Values: 0-7 (0 = off, 7 = max). |
Foreground | Font color. |
Background | Backround color. |
Basecolor | … |
Display dpf { Driver 'DPF' Port 'usb0' Font '8x10' Orientation 0 Backlight 7 Foreground 'ffffff' #white Background '000000' #black Basecolor 'ff0000' #red }
The driver is self-contained. No external headers/libraries needed.