mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
added BogoMips() to system.c (not used by now, maybe sometimes we can calibrate our delay loop with this value) added delay loop to HD44780 driver. It seems to be quite fast now. Hopefully no compiler will optimize away the delay loop! git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@44 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
66 lines
1.0 KiB
Plaintext
66 lines
1.0 KiB
Plaintext
#Display LCD2041
|
|
#Port /dev/ttyS2
|
|
#Speed 19200
|
|
#Contrast 160
|
|
|
|
Display HD44780
|
|
Port 0x378
|
|
Size 16x2
|
|
Delay 600
|
|
|
|
#Display PPM
|
|
#size 20x4
|
|
#font 5x8
|
|
#pixel 3+0
|
|
#gap -1x-1
|
|
#border 10
|
|
#foreground \#102000
|
|
#halfground \#70c000
|
|
#background \#80d000
|
|
|
|
#Display X11
|
|
#size 20x5
|
|
#font 5x8
|
|
#pixel 1+0
|
|
#gap -1x-1
|
|
#border 1
|
|
#foreground \#102000
|
|
#halfground \#90c000
|
|
#background \#a0d000
|
|
|
|
#Row1 "*** %o %v ***"
|
|
#Row2 "%p CPU %r MB RAM"
|
|
#Row3 "Busy %cb%% $r10cs+cb"
|
|
#Row4 "Load %l1%L$r10l1"
|
|
|
|
Row1 "Load %l1%L$r10cs+cb"
|
|
Row2 "Disk %dm $R10dr+dw"
|
|
Row3 "Net %nm $R10nr+nw"
|
|
Row4 "ISDN %im $r10ii+io"
|
|
Row5 "Temp %s2°$r10s1+s2"
|
|
|
|
#Row1 "$u3l1$u3cb$u3cs $u3mu$u3ma$u3ms $u3dr$u3dw $u3nr$u3nw $u3ii$u3io"
|
|
#Row2 " "
|
|
#Row3 " "
|
|
#Row4 "CPU MEM IO IP"
|
|
|
|
Tick 100
|
|
Tack 400
|
|
Tau 500
|
|
|
|
Overload 2.0
|
|
|
|
Sensor1 /proc/sys/dev/sensors/w83781d-isa-0290/temp1
|
|
Sensor1_min 30
|
|
Sensor1_max 50
|
|
|
|
Sensor2 /proc/sys/dev/sensors/w83781d-isa-0290/temp2
|
|
Sensor2_min 30
|
|
Sensor2_max 50
|
|
|
|
Sensor3 /proc/sys/dev/sensors/w83781d-isa-0290/temp3
|
|
Sensor3_min 30
|
|
Sensor3_max 50
|
|
|
|
Fifo /var/run/lcd4linux
|