add comments, use getopt, cleanup, ...

This commit is contained in:
marschap
2006-01-18 21:17:39 +00:00
parent 5b4c15c2a6
commit 34cf0696ae
3 changed files with 163 additions and 158 deletions
+6 -6
View File
@@ -32,7 +32,7 @@
# The name of the driver is exactly the same as the name of the driver
# module that is to be loaded, including the case of the letters !
# (That is: unless a file= option is given in the driver section)
Driver=curses
Driver=CFontzPacket
#Driver=hd44780
#Driver=IOWarrior
#Driver=MtxOrb
@@ -187,13 +187,13 @@ Reboot=yes
[CFontzPacket]
# Select the LCD model [default: 633; legal: 631, 633, 635]
Model=633
Model=635
# Select the output device to use [default: /dev/lcd]
Device=/dev/ttyS0
Device=/dev/ttyUSB0
# Select the LCD size [default: depending on model: 635: 20x4, 631 & 633: 16x2]
Size=16x2
Size=20x4
# Set the initial contrast [default: 140; legal: 0 - 1000]
Contrast=140
Contrast=350
# Set the initial brightness [default: 1000; legal: 0 - 1000]
Brightness=1000
# Set the initial off-brightness [default: 0; legal: 0 - 1000]
@@ -201,7 +201,7 @@ Brightness=1000
# switched off in case LCDd is inactive
OffBrightness=50
# Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200, 115200]
Speed=19200
Speed=115200
# Set the firmware version (New means >= 2.0) [default: no; legal: yes, no]
# Currently this flag is not in use, there is no such thing as NewFirmware. ;=)
#NewFirmware=no