| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
1
|
|
|
1
|
|
8309
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
34
|
|
|
2
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
155
|
|
|
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
|
|
|
|
|
|
|
'Device', |
|
18
|
|
|
|
|
|
|
{ |
|
19
|
|
|
|
|
|
|
'description' => 'device where the VFD is. Usual values are /dev/ttyS0 and /dev/ttyS1', |
|
20
|
|
|
|
|
|
|
'type' => 'leaf', |
|
21
|
|
|
|
|
|
|
'upstream_default' => '/dev/lcd', |
|
22
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
23
|
|
|
|
|
|
|
}, |
|
24
|
|
|
|
|
|
|
'OffBrightness', |
|
25
|
|
|
|
|
|
|
{ |
|
26
|
|
|
|
|
|
|
'description' => 'Set the initial off-brightness |
|
27
|
|
|
|
|
|
|
This value is used when the display is normally |
|
28
|
|
|
|
|
|
|
switched off in case LCDd is inactive', |
|
29
|
|
|
|
|
|
|
'max' => '1000', |
|
30
|
|
|
|
|
|
|
'min' => '0', |
|
31
|
|
|
|
|
|
|
'type' => 'leaf', |
|
32
|
|
|
|
|
|
|
'upstream_default' => '0', |
|
33
|
|
|
|
|
|
|
'value_type' => 'integer' |
|
34
|
|
|
|
|
|
|
}, |
|
35
|
|
|
|
|
|
|
'Parity', |
|
36
|
|
|
|
|
|
|
{ |
|
37
|
|
|
|
|
|
|
'description' => 'Set serial data parity |
|
38
|
|
|
|
|
|
|
Meaning: 0(=none), 1(=odd), 2(=even)', |
|
39
|
|
|
|
|
|
|
'max' => '2', |
|
40
|
|
|
|
|
|
|
'min' => '0', |
|
41
|
|
|
|
|
|
|
'type' => 'leaf', |
|
42
|
|
|
|
|
|
|
'upstream_default' => '0', |
|
43
|
|
|
|
|
|
|
'value_type' => 'integer' |
|
44
|
|
|
|
|
|
|
}, |
|
45
|
|
|
|
|
|
|
'Reboot', |
|
46
|
|
|
|
|
|
|
{ |
|
47
|
|
|
|
|
|
|
'description' => 're-initialize the VFD ', |
|
48
|
|
|
|
|
|
|
'type' => 'leaf', |
|
49
|
|
|
|
|
|
|
'upstream_default' => 'no', |
|
50
|
|
|
|
|
|
|
'value_type' => 'boolean', |
|
51
|
|
|
|
|
|
|
'write_as' => [ |
|
52
|
|
|
|
|
|
|
'no', |
|
53
|
|
|
|
|
|
|
'yes' |
|
54
|
|
|
|
|
|
|
] |
|
55
|
|
|
|
|
|
|
}, |
|
56
|
|
|
|
|
|
|
'Size', |
|
57
|
|
|
|
|
|
|
{ |
|
58
|
|
|
|
|
|
|
'default' => '20x4', |
|
59
|
|
|
|
|
|
|
'description' => 'Specifies the size of the LCD.', |
|
60
|
|
|
|
|
|
|
'type' => 'leaf', |
|
61
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
62
|
|
|
|
|
|
|
}, |
|
63
|
|
|
|
|
|
|
'Speed', |
|
64
|
|
|
|
|
|
|
{ |
|
65
|
|
|
|
|
|
|
'description' => 'set the serial port speed ', |
|
66
|
|
|
|
|
|
|
'type' => 'leaf', |
|
67
|
|
|
|
|
|
|
'upstream_default' => '9600,legal:1200,2400,9600,19200,115200', |
|
68
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
69
|
|
|
|
|
|
|
} |
|
70
|
|
|
|
|
|
|
], |
|
71
|
|
|
|
|
|
|
'name' => 'LCDd::NoritakeVFD' |
|
72
|
|
|
|
|
|
|
} |
|
73
|
|
|
|
|
|
|
] |
|
74
|
|
|
|
|
|
|
; |
|
75
|
|
|
|
|
|
|
|