====== PICGraphic driver ====== 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 Section ===== Display { Driver 'PICGraphic' Port Speed Size Font Contrast } ---- ===== Parameters ===== |**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 x. Required.| |**Font**|font size, specified as x. Default is '6x8', which is the only size supported at the moment.| |**Contrast**|contrast, 0..15| ---- ===== Plugins ===== |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.| ---- ===== Example ===== 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' } ---- ===== Requirements ===== No external libraries. The driver is selected at build time with //--with-drivers=PICGraphic//. ----