This driver supports the „PICGraphic“ serial-to-graphic interface by Peter Bailey: a PIC microcontroller that drives a monochrome graphic display and is connected to a serial port.
Display <name> {
Driver 'PICGraphic'
Port <string>
Speed <number>
Size <string>
Font <string>
Contrast <number>
}
| Driver | 'PICGraphic' |
| Port | serial device the interface is attached to (e.g. '/dev/ttyS1') |
| Speed | baud rate of the serial port (the example in the source uses 115200) |
| Size | size of the display in pixels, specified as <width>x<height>. Required. |
| Font | font size, specified as <width>x<height>. Default is '6×8', which is the only size supported at the moment. |
| Contrast | contrast, 0..15 |
| LCD::contrast(n) | accepts a contrast value (0..15). Note: in the current source the command is not sent to the display yet, so the function has no visible effect. |
This is the example from the source of the driver:
Display PICGraphic {
Driver 'PICGraphic'
Port '/dev/ttyS1'
Contrast 8
Size '48x128'
Speed 115200
Font '6x8'
}
No external libraries. The driver is selected at build time with –with-drivers=PICGraphic.