====== MDM166A driver ====== This driver supports the Futaba MDM166A, a graphic vacuum fluorescent display with 96x16 pixels and a row of symbols (play, pause, record, mail, WLAN, volume). It is connected via USB (vendor ID 0x19c2, product ID 0x6a11). The driver was written by Andreas Brachold. ---- ===== Display Section ===== Display { Driver 'MDM166A' Size Font Brightness Inverted <0|1> } ---- ===== Parameters ===== |**Driver**|'MDM166A'| |**Size**|size of the display in **pixels**, specified as x, default is '96x16'| |**Font**|font size, specified as x, default is '6x8'| |**Brightness**|initial brightness (dimming level of the display), 0..2| |**Inverted**|set to 1 to invert the display| ---- ===== Plugins ===== The driver provides the following function: |LCD::brightness(n)|set the brightness to n (0..2)| ---- ===== Symbols (GPOs) ===== The symbols of the display are controlled as GPOs, see the [[:lcd4linux:widget_gpo|GPO widget]] for how to use them. A value greater than 0 switches the symbol on. |**GPO**|**Symbol**| |GPO1|Play| |GPO2|Pause| |GPO3|Record| |GPO4|Message (envelope, without the inner @)| |GPO5|Message @| |GPO6|Mute| |GPO7|WLAN (tower base)| |GPO8|WLAN strength 1 of 3| |GPO9|WLAN strength 2 of 3| |GPO10|WLAN strength 3 of 3| |GPO11|Volume (the word)| |GPO12 .. GPO25|Volume level 1 .. 14| ---- ===== Example ===== This is the entry from //lcd4linux.conf.sample//: Display MDM166A { Driver 'MDM166A' Brightness 1 Inverted 0 Size '96x16' Font '6x8' } Widget GPO_Mute { class 'GPO' expression file::exist('/tmp/muted') update 500 } Layout Default { GPO6 'GPO_Mute' } ---- ===== Requirements ===== **libusb-1.0** is needed (not the old libusb 0.1 most other USB drivers use). The driver is selected at build time with //--with-drivers=MDM166A//. ----