This driver is a "Serial Terminal Display". It emits the text to be displayed on the serial port. The control codes supported are CR (go to the beginning of the line) and LF (next line). It's very useful as a test program, to check if the serial port works, or for a custom microprocessor board. Additionally, it is able to generate a few VT100-compatible codes, to support the displays [[http://www.wincornixdorf.com|WincorNixdorf]] Serial Cashier Displays [[WincorNixdorf|BA63/BA66]]. (See https://ssl.bulix.org/projects/lcd4linux/ticket/2). ---- ===== Display Section ===== Display { Driver 'SimpleLCD' Model 'generic' or 'vt100' Port Speed Options Size BarCharValue } ---- ===== Parameters ===== |**Driver**|'SimpleLCD'| |**Model**|'generic' for the normal mode, 'vt100' to generate VT100 ESC-* control-codes to clear screen and move cursor. Optional, default is 'generic'.| |**Port**|serial device the display is attached to (e.g.'/dev/ttyS2')| |**Speed**|the baud rate from the display must match this value. Possible values are 1200, 2400, 4800, 9600, 19200, 38400 and 115200| |**Options**|the *decimal* value for the serial port configuration. The values are passed to the tcsetattr() system call, please see the man of this function to know which flags are needed. 99.9% of the time, this argument is not needed as the default values are fine.| |**BarCharValue**|the ascii value of the character representing a full bloc for the bars. (Not yet implemented)| |**Size**|either '20x2' or '20x4'| ---- ===== Example ===== The following configuration works for a BA63 display. Display BA63 { Driver 'SimpleLCD' Model 'vt100' Port '/dev/tts/0' Speed 9600 Size '20x2' # Activate parity and set it to odd Options 0001400 # From the BA63 doc, decimal 219 look like a big full block. BarCharValue 219 } ----