| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
1
|
|
|
1
|
|
6597
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
33
|
|
|
2
|
1
|
|
|
1
|
|
7
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
70
|
|
|
3
|
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
return [ |
|
5
|
|
|
|
|
|
|
{ |
|
6
|
|
|
|
|
|
|
'class_description' => 'generated from LCDd.conf', |
|
7
|
|
|
|
|
|
|
'element' => [ |
|
8
|
|
|
|
|
|
|
'Brightness', |
|
9
|
|
|
|
|
|
|
{ |
|
10
|
|
|
|
|
|
|
'default' => '500', |
|
11
|
|
|
|
|
|
|
'description' => 'Device is fixed /dev/ttyS1 |
|
12
|
|
|
|
|
|
|
Width and Height are fixed 9x1 |
|
13
|
|
|
|
|
|
|
As the VFD is self luminescent we don\'t have a backlight |
|
14
|
|
|
|
|
|
|
But we can use the backlight functions to control the front LEDs |
|
15
|
|
|
|
|
|
|
Brightness 0 to 299 -> LEDs off |
|
16
|
|
|
|
|
|
|
Brightness 300 to 699 -> LEDs half bright |
|
17
|
|
|
|
|
|
|
Brightness 700 to 1000 -> LEDs full bright', |
|
18
|
|
|
|
|
|
|
'type' => 'leaf', |
|
19
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
20
|
|
|
|
|
|
|
}, |
|
21
|
|
|
|
|
|
|
'OffBrightness', |
|
22
|
|
|
|
|
|
|
{ |
|
23
|
|
|
|
|
|
|
'default' => '0', |
|
24
|
|
|
|
|
|
|
'description' => 'OffBrightness is the the value used for the \'backlight off\' state', |
|
25
|
|
|
|
|
|
|
'type' => 'leaf', |
|
26
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
27
|
|
|
|
|
|
|
} |
|
28
|
|
|
|
|
|
|
], |
|
29
|
|
|
|
|
|
|
'name' => 'LCDd::ea65' |
|
30
|
|
|
|
|
|
|
} |
|
31
|
|
|
|
|
|
|
] |
|
32
|
|
|
|
|
|
|
; |
|
33
|
|
|
|
|
|
|
|