line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
18953
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
35
|
|
2
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
156
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
return [ |
5
|
|
|
|
|
|
|
{ |
6
|
|
|
|
|
|
|
'class_description' => 'generated from LCDd.conf', |
7
|
|
|
|
|
|
|
'element' => [ |
8
|
|
|
|
|
|
|
'Brightness', |
9
|
|
|
|
|
|
|
{ |
10
|
|
|
|
|
|
|
'description' => 'Set the initial brightness ', |
11
|
|
|
|
|
|
|
'max' => '1000', |
12
|
|
|
|
|
|
|
'min' => '0', |
13
|
|
|
|
|
|
|
'type' => 'leaf', |
14
|
|
|
|
|
|
|
'upstream_default' => '1000', |
15
|
|
|
|
|
|
|
'value_type' => 'integer' |
16
|
|
|
|
|
|
|
}, |
17
|
|
|
|
|
|
|
'Contrast', |
18
|
|
|
|
|
|
|
{ |
19
|
|
|
|
|
|
|
'description' => 'Set the initial contrast ', |
20
|
|
|
|
|
|
|
'max' => '1000', |
21
|
|
|
|
|
|
|
'min' => '0', |
22
|
|
|
|
|
|
|
'type' => 'leaf', |
23
|
|
|
|
|
|
|
'upstream_default' => '560', |
24
|
|
|
|
|
|
|
'value_type' => 'integer' |
25
|
|
|
|
|
|
|
}, |
26
|
|
|
|
|
|
|
'Device', |
27
|
|
|
|
|
|
|
{ |
28
|
|
|
|
|
|
|
'description' => 'Select the output device to use ', |
29
|
|
|
|
|
|
|
'type' => 'leaf', |
30
|
|
|
|
|
|
|
'upstream_default' => '/dev/lcd', |
31
|
|
|
|
|
|
|
'value_type' => 'uniline' |
32
|
|
|
|
|
|
|
}, |
33
|
|
|
|
|
|
|
'NewFirmware', |
34
|
|
|
|
|
|
|
{ |
35
|
|
|
|
|
|
|
'description' => 'Set the firmware version (New means >= 2.0) ', |
36
|
|
|
|
|
|
|
'type' => 'leaf', |
37
|
|
|
|
|
|
|
'upstream_default' => 'no', |
38
|
|
|
|
|
|
|
'value_type' => 'boolean', |
39
|
|
|
|
|
|
|
'write_as' => [ |
40
|
|
|
|
|
|
|
'no', |
41
|
|
|
|
|
|
|
'yes' |
42
|
|
|
|
|
|
|
] |
43
|
|
|
|
|
|
|
}, |
44
|
|
|
|
|
|
|
'OffBrightness', |
45
|
|
|
|
|
|
|
{ |
46
|
|
|
|
|
|
|
'description' => 'Set the initial off-brightness |
47
|
|
|
|
|
|
|
This value is used when the display is normally |
48
|
|
|
|
|
|
|
switched off in case LCDd is inactive', |
49
|
|
|
|
|
|
|
'max' => '1000', |
50
|
|
|
|
|
|
|
'min' => '0', |
51
|
|
|
|
|
|
|
'type' => 'leaf', |
52
|
|
|
|
|
|
|
'upstream_default' => '0', |
53
|
|
|
|
|
|
|
'value_type' => 'integer' |
54
|
|
|
|
|
|
|
}, |
55
|
|
|
|
|
|
|
'Reboot', |
56
|
|
|
|
|
|
|
{ |
57
|
|
|
|
|
|
|
'description' => 'Reinitialize the LCD\'s BIOS |
58
|
|
|
|
|
|
|
normally you shouldn\'t need this', |
59
|
|
|
|
|
|
|
'type' => 'leaf', |
60
|
|
|
|
|
|
|
'upstream_default' => 'no', |
61
|
|
|
|
|
|
|
'value_type' => 'boolean', |
62
|
|
|
|
|
|
|
'write_as' => [ |
63
|
|
|
|
|
|
|
'no', |
64
|
|
|
|
|
|
|
'yes' |
65
|
|
|
|
|
|
|
] |
66
|
|
|
|
|
|
|
}, |
67
|
|
|
|
|
|
|
'Size', |
68
|
|
|
|
|
|
|
{ |
69
|
|
|
|
|
|
|
'description' => 'Select the LCD size ', |
70
|
|
|
|
|
|
|
'type' => 'leaf', |
71
|
|
|
|
|
|
|
'upstream_default' => '20x4', |
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 communication speed ', |
84
|
|
|
|
|
|
|
'type' => 'leaf', |
85
|
|
|
|
|
|
|
'upstream_default' => '9600', |
86
|
|
|
|
|
|
|
'value_type' => 'enum' |
87
|
|
|
|
|
|
|
} |
88
|
|
|
|
|
|
|
], |
89
|
|
|
|
|
|
|
'name' => 'LCDd::CFontz' |
90
|
|
|
|
|
|
|
} |
91
|
|
|
|
|
|
|
] |
92
|
|
|
|
|
|
|
; |
93
|
|
|
|
|
|
|
|