1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
|
#
# This file is part of Config-Model
#
# This software is Copyright (c) 2012 by Dominique Dumont, Krzysztof Tyszecki.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
'class_description' => 'generated from LCDd.conf',
'name' => 'LCDd::SureElec',
'element' => [
'Device',
{
'value_type' => 'uniline',
'default' => '/dev/ttyUSB0',
'type' => 'leaf',
'description' => 'Port the device is connected to (by default first USB serial port)'
},
'Edition',
{
'value_type' => 'uniline',
'upstream_default' => '2',
'type' => 'leaf',
'description' => 'Edition level of the device (can be 1, 2 or 3) '
},
'Size',
{
'value_type' => 'uniline',
'default' => '16x2',
'type' => 'leaf',
'description' => 'set display size
Note: The size can be obtained directly from device for edition 2 & 3.'
},
'Contrast',
{
'value_type' => 'integer',
'min' => '0',
'upstream_default' => '480',
'max' => '1000',
'type' => 'leaf',
'description' => 'Set the initial contrast '
},
'Brightness',
{
'value_type' => 'integer',
'min' => '1',
'upstream_default' => '480',
'max' => '1000',
'type' => 'leaf',
'description' => 'Set the initial brightness '
},
'OffBrightness',
{
'value_type' => 'integer',
'min' => '1',
'upstream_default' => '100',
'max' => '1000',
'type' => 'leaf',
'description' => 'Set the initial off-brightness
This value is used when the display is normally
switched off in case LCDd is inactive'
}
]
}
]
;
|