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. ===== Display Section ===== <code> Display <name> { Driver 'DPF' Port '<string>' Font '<string>' Orientation <number> Backlight <number> Foreground color in hex Background color in hex Basecolor color in hex } </code> ---- ===== Parameters ===== |Driver|'DPF'| |Port|Normally 'usb0'. If you have more than one dfp connected: 'usb0" ist the first, 'usb1' the second dpf, etc.| |Font|Default: '6x8'; 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|...| ---- ===== Examples ===== <code> Display dpf { Driver 'DPF' Port 'usb0' Font '8x10' Orientation 0 Backlight 7 Foreground 'ffffff' #white Background '000000' #black Basecolor 'ff0000' #red } </code> ---- ===== Requirements ===== The driver is self-contained. No external headers/libraries needed. dpf.txt Last modified: 2020/07/17 18:33(external edit)