overhaul for the NoritakeVFD driver (idea by Richard Moratti):
- Fixed vbar & hbar - Allowed for displays with 2 custom characters - Fixed cursor off - 16H - Data sheet for CU20045SCPB has error -> Cursor Off 14,16,17H - Tested with CU40026SCPB-T20A - 40x2 - Hardware Defaults to 19200 8E1 - Added new config parameter [Parity] to set serial data parity 0(none),1(odd),2(even) - Added config parameter OffBrightness - added support for big numbers
This commit is contained in:
@@ -734,21 +734,20 @@ keypad_test_mode=no
|
||||
[NoritakeVFD]
|
||||
# device where the VFD is. Usual values are /dev/ttyS0 and /dev/ttyS1 [default: /dev/lcd]
|
||||
Device=/dev/ttyS0
|
||||
|
||||
# Specifies the size of the LCD.
|
||||
Size=20x4
|
||||
|
||||
# set the brightness
|
||||
Brightness=255
|
||||
|
||||
# Set the initial brightness [default: 1000; legal: 0 - 1000]
|
||||
Brightness=1000
|
||||
# Set the initial off-brightness [default: 0; legal: 0 - 1000]
|
||||
# This value is used when the display is normally
|
||||
# switched off in case LCDd is inactive
|
||||
OffBrightness=50
|
||||
# set the serial port speed [default: 9600, legal: 1200, 2400, 9600, 19200, 115200]
|
||||
Speed=9600
|
||||
|
||||
# Set serial data parity [default: 0 (None), legal: 0(=none), 1(=odd), 2(=even)]
|
||||
Parity=0
|
||||
|
||||
# re-initialize VFD ?
|
||||
#Reboot=yes
|
||||
# re-initialize the VFD [default: no; legal: yes, no]
|
||||
Reboot=no
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user