[lcd4linux @ 2004-03-01 04:29:51 by reinelt]

cfg_number() returns -1 on error, 0 if value not found (but default val used),
 and 1 if value was used from the configuration.
HD44780 driver adopted to new cfg_number()
Crystalfontz 631 driver nearly finished

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@382 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
reinelt
2004-03-01 04:29:51 +00:00
parent 79fa81a94d
commit bfd7907def
4 changed files with 55 additions and 24 deletions

View File

@@ -9,12 +9,13 @@ Display LK204 {
Display CF631 {
Icons 2
Icons 5
Driver 'Crystalfontz'
Model '631'
Port '/dev/usb/tts/0'
Port '/dev/tts/0'
Speed 115200
Contrast 95
Backlight 100
}
Display CF632 {
@@ -370,7 +371,11 @@ Layout L16x2 {
Col1 'Busy'
Col11 'BusyBar'
}
# Row2 {
Row2 {
Col1 'Disk'
Col11 'DiskBar'
}
# Row2 {
# Col1 'Heartbeat'
# Col2 'EKG'
# Col3 'Karo'
@@ -378,7 +383,7 @@ Layout L16x2 {
# Col5 'Blob'
# Col6 'Wave'
# Col7 'Squirrel'
# }
# }
}
Layout Test {
@@ -403,15 +408,15 @@ Layout Test {
#Display 'LK204'
#Display 'HD44780-20x4'
#Display 'M50530-24x8'
#Display 'CF631'
Display 'CF631'
#Display 'CF632'
#Display 'CF633'
#Display 'USBLCD'
Display 'T6963-240x64'
#Display 'T6963-240x64'
#Display 'XWindow'
Layout 'Default'
#Layout 'L16x2'
#Layout 'Default'
Layout 'L16x2'
#Layout 'Test'