line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
7233
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
32
|
|
2
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
163
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
return [ |
5
|
|
|
|
|
|
|
{ |
6
|
|
|
|
|
|
|
'class_description' => 'generated from LCDd.conf', |
7
|
|
|
|
|
|
|
'element' => [ |
8
|
|
|
|
|
|
|
'Brightness', |
9
|
|
|
|
|
|
|
{ |
10
|
|
|
|
|
|
|
'description' => 'Set the initial brightness |
11
|
|
|
|
|
|
|
(4 steps 0-250, 251-500, 501-750, 751-1000)', |
12
|
|
|
|
|
|
|
'max' => '1000', |
13
|
|
|
|
|
|
|
'min' => '0', |
14
|
|
|
|
|
|
|
'type' => 'leaf', |
15
|
|
|
|
|
|
|
'upstream_default' => '1000', |
16
|
|
|
|
|
|
|
'value_type' => 'integer' |
17
|
|
|
|
|
|
|
}, |
18
|
|
|
|
|
|
|
'Device', |
19
|
|
|
|
|
|
|
{ |
20
|
|
|
|
|
|
|
'default' => '/dev/ttyS1', |
21
|
|
|
|
|
|
|
'description' => 'Device to use in serial mode. Usual values are /dev/ttyS0 and /dev/ttyS1', |
22
|
|
|
|
|
|
|
'type' => 'leaf', |
23
|
|
|
|
|
|
|
'value_type' => 'uniline' |
24
|
|
|
|
|
|
|
}, |
25
|
|
|
|
|
|
|
'ISO_8859_1', |
26
|
|
|
|
|
|
|
{ |
27
|
|
|
|
|
|
|
'description' => 'enable ISO 8859 1 compatibility ', |
28
|
|
|
|
|
|
|
'type' => 'leaf', |
29
|
|
|
|
|
|
|
'upstream_default' => 'yes', |
30
|
|
|
|
|
|
|
'value_type' => 'boolean', |
31
|
|
|
|
|
|
|
'write_as' => [ |
32
|
|
|
|
|
|
|
'no', |
33
|
|
|
|
|
|
|
'yes' |
34
|
|
|
|
|
|
|
] |
35
|
|
|
|
|
|
|
}, |
36
|
|
|
|
|
|
|
'OffBrightness', |
37
|
|
|
|
|
|
|
{ |
38
|
|
|
|
|
|
|
'description' => 'Set the initial off-brightness |
39
|
|
|
|
|
|
|
This value is used when the display is normally |
40
|
|
|
|
|
|
|
switched off in case LCDd is inactive |
41
|
|
|
|
|
|
|
(4 steps 0-250, 251-500, 501-750, 751-1000)', |
42
|
|
|
|
|
|
|
'max' => '1000', |
43
|
|
|
|
|
|
|
'min' => '0', |
44
|
|
|
|
|
|
|
'type' => 'leaf', |
45
|
|
|
|
|
|
|
'upstream_default' => '0', |
46
|
|
|
|
|
|
|
'value_type' => 'integer' |
47
|
|
|
|
|
|
|
}, |
48
|
|
|
|
|
|
|
'Port', |
49
|
|
|
|
|
|
|
{ |
50
|
|
|
|
|
|
|
'default' => '0x378', |
51
|
|
|
|
|
|
|
'description' => 'Number of Custom-Characters. default is display type dependent |
52
|
|
|
|
|
|
|
Custom-Characters=0 |
53
|
|
|
|
|
|
|
Portaddress where the LPT is. Used in parallel mode only. Usual values are |
54
|
|
|
|
|
|
|
0x278, 0x378 and 0x3BC.', |
55
|
|
|
|
|
|
|
'type' => 'leaf', |
56
|
|
|
|
|
|
|
'value_type' => 'uniline' |
57
|
|
|
|
|
|
|
}, |
58
|
|
|
|
|
|
|
'PortWait', |
59
|
|
|
|
|
|
|
{ |
60
|
|
|
|
|
|
|
'description' => 'Set parallel port timing delay (us). Used in parallel mode only.', |
61
|
|
|
|
|
|
|
'max' => '255', |
62
|
|
|
|
|
|
|
'min' => '0', |
63
|
|
|
|
|
|
|
'type' => 'leaf', |
64
|
|
|
|
|
|
|
'upstream_default' => '2', |
65
|
|
|
|
|
|
|
'value_type' => 'integer' |
66
|
|
|
|
|
|
|
}, |
67
|
|
|
|
|
|
|
'Size', |
68
|
|
|
|
|
|
|
{ |
69
|
|
|
|
|
|
|
'default' => '20x2', |
70
|
|
|
|
|
|
|
'description' => 'Specifies the size of the VFD.', |
71
|
|
|
|
|
|
|
'type' => 'leaf', |
72
|
|
|
|
|
|
|
'value_type' => 'uniline' |
73
|
|
|
|
|
|
|
}, |
74
|
|
|
|
|
|
|
'Speed', |
75
|
|
|
|
|
|
|
{ |
76
|
|
|
|
|
|
|
'choice' => [ |
77
|
|
|
|
|
|
|
'1200', |
78
|
|
|
|
|
|
|
'2400', |
79
|
|
|
|
|
|
|
'9600', |
80
|
|
|
|
|
|
|
'19200', |
81
|
|
|
|
|
|
|
'115200' |
82
|
|
|
|
|
|
|
], |
83
|
|
|
|
|
|
|
'description' => 'set the serial port speed ', |
84
|
|
|
|
|
|
|
'type' => 'leaf', |
85
|
|
|
|
|
|
|
'upstream_default' => '9600', |
86
|
|
|
|
|
|
|
'value_type' => 'enum' |
87
|
|
|
|
|
|
|
}, |
88
|
|
|
|
|
|
|
'Type', |
89
|
|
|
|
|
|
|
{ |
90
|
|
|
|
|
|
|
'description' => 'Specifies the displaytype. |
91
|
|
|
|
|
|
|
0 NEC (FIPC8367 based) VFDs. |
92
|
|
|
|
|
|
|
1 KD Rev 2.1. |
93
|
|
|
|
|
|
|
2 Noritake VFDs (*). |
94
|
|
|
|
|
|
|
3 Futaba VFDs |
95
|
|
|
|
|
|
|
4 IEE S03601-95B |
96
|
|
|
|
|
|
|
5 IEE S03601-96-080 (*) |
97
|
|
|
|
|
|
|
6 Futaba NA202SD08FA (allmost IEE compatible) |
98
|
|
|
|
|
|
|
7 Samsung 20S207DA4 and 20S207DA6 |
99
|
|
|
|
|
|
|
8 Nixdorf BA6x / VT100 |
100
|
|
|
|
|
|
|
(* most should work, not tested yet.)', |
101
|
|
|
|
|
|
|
'type' => 'leaf', |
102
|
|
|
|
|
|
|
'upstream_default' => '0', |
103
|
|
|
|
|
|
|
'value_type' => 'uniline' |
104
|
|
|
|
|
|
|
}, |
105
|
|
|
|
|
|
|
'use_parallel', |
106
|
|
|
|
|
|
|
{ |
107
|
|
|
|
|
|
|
'description' => '"no" if display connected serial, "yes" if connected parallel. |
108
|
|
|
|
|
|
|
I.e. serial by default', |
109
|
|
|
|
|
|
|
'type' => 'leaf', |
110
|
|
|
|
|
|
|
'upstream_default' => 'no', |
111
|
|
|
|
|
|
|
'value_type' => 'uniline' |
112
|
|
|
|
|
|
|
} |
113
|
|
|
|
|
|
|
], |
114
|
|
|
|
|
|
|
'name' => 'LCDd::serialVFD' |
115
|
|
|
|
|
|
|
} |
116
|
|
|
|
|
|
|
] |
117
|
|
|
|
|
|
|
; |
118
|
|
|
|
|
|
|
|