| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
1
|
|
|
1
|
|
7908
|
use strict; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
34
|
|
|
2
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
94
|
|
|
3
|
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
return [ |
|
5
|
|
|
|
|
|
|
{ |
|
6
|
|
|
|
|
|
|
'class_description' => 'generated from LCDd.conf', |
|
7
|
|
|
|
|
|
|
'element' => [ |
|
8
|
|
|
|
|
|
|
'Brightness', |
|
9
|
|
|
|
|
|
|
{ |
|
10
|
|
|
|
|
|
|
'description' => 'Set the initial brightness ', |
|
11
|
|
|
|
|
|
|
'max' => '255', |
|
12
|
|
|
|
|
|
|
'min' => '0', |
|
13
|
|
|
|
|
|
|
'type' => 'leaf', |
|
14
|
|
|
|
|
|
|
'upstream_default' => '255', |
|
15
|
|
|
|
|
|
|
'value_type' => 'integer' |
|
16
|
|
|
|
|
|
|
}, |
|
17
|
|
|
|
|
|
|
'Device', |
|
18
|
|
|
|
|
|
|
{ |
|
19
|
|
|
|
|
|
|
'description' => 'Select the output device to use ', |
|
20
|
|
|
|
|
|
|
'type' => 'leaf', |
|
21
|
|
|
|
|
|
|
'upstream_default' => '/dev/lcd', |
|
22
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
23
|
|
|
|
|
|
|
}, |
|
24
|
|
|
|
|
|
|
'Reboot', |
|
25
|
|
|
|
|
|
|
{ |
|
26
|
|
|
|
|
|
|
'description' => 'Reinitialize the LCD\'s BIOS ', |
|
27
|
|
|
|
|
|
|
'type' => 'leaf', |
|
28
|
|
|
|
|
|
|
'upstream_default' => 'no', |
|
29
|
|
|
|
|
|
|
'value_type' => 'boolean', |
|
30
|
|
|
|
|
|
|
'write_as' => [ |
|
31
|
|
|
|
|
|
|
'no', |
|
32
|
|
|
|
|
|
|
'yes' |
|
33
|
|
|
|
|
|
|
] |
|
34
|
|
|
|
|
|
|
}, |
|
35
|
|
|
|
|
|
|
'Speed', |
|
36
|
|
|
|
|
|
|
{ |
|
37
|
|
|
|
|
|
|
'choice' => [ |
|
38
|
|
|
|
|
|
|
'2400', |
|
39
|
|
|
|
|
|
|
'9600' |
|
40
|
|
|
|
|
|
|
], |
|
41
|
|
|
|
|
|
|
'description' => 'Set the communication speed ', |
|
42
|
|
|
|
|
|
|
'type' => 'leaf', |
|
43
|
|
|
|
|
|
|
'upstream_default' => '9600', |
|
44
|
|
|
|
|
|
|
'value_type' => 'enum' |
|
45
|
|
|
|
|
|
|
} |
|
46
|
|
|
|
|
|
|
], |
|
47
|
|
|
|
|
|
|
'name' => 'LCDd::lb216' |
|
48
|
|
|
|
|
|
|
} |
|
49
|
|
|
|
|
|
|
] |
|
50
|
|
|
|
|
|
|
; |
|
51
|
|
|
|
|
|
|
|