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:
marschap
2007-09-25 16:19:42 +00:00
parent 72a98a5068
commit 2aecdd4c59
6 changed files with 563 additions and 447 deletions
+8 -9
View File
@@ -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