Softgun can simulate a text display with 1x16 chars up to 4x40 chars using one ore two HD44780 compatible LCD controllers. It can be connected to an IO-Port in 4 Bit mode or 8 bit mode. The interface is simulated on logical signal level.
It provides the following eleven electrical Signal lines (<Instancename>.<Signalname>):
lcd.D0
...
lcd.D7
lcd.RS
lcd.RW
lcd.E
Features:
- Six colorsets are configurable
- Cursor using underlining or solid block
- Hardware Scrolling.
- Programmable Characters.
- Full Timing check. On timing violation the input is ignored.
- Busy polling by reading D7.
- Five fonts can be selected from the configuration file
- Response time simulation with a default of 60ms
Configuration
Example configuration section:
[lcd0815]
font: 1
colorset: 1
rows: 4
cols: 20
backend: rfbserver
host: 127.0.0.1
port: 5904
width: 380
height: 130
propose_bpp: 32 # For buggy realvnc
startupdelay: 0
start: vncviewer -fullColor localhost:5904
response_time: 60
exit_on_close: 1
Fonts:
Configuration | Font description |
font: 0 | The standard font (ROM Code A00) from the HD44780 manual (default) Europe/Japan |
font: 1 | The font from the SED1278Fob/Dob Manual (European, Nordic, greek letters, arrows and currency symbols) |
font: 2 | The font from the HD44780 manual, ROM Code A02 (cyrillic) |
font: 3 | The font from the ST7066-1G manual (hebrew) |
font: 4 | The font from the KS0070B-04 manual (hebrew) |
Colorsets:
- colorset: 0 # Black on yellow/green (default)
- colorset: 1 # White on blue light
- colorset: 2 # White on blue dark
- colorset: 3 # White on black
- colorset: 4 # Black on white
- colorset: 5 # Black on grey