File: SureElec.docbook

package info (click to toggle)
lcdproc 0.5.9-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,088 kB
  • sloc: ansic: 59,645; sh: 1,740; perl: 681; makefile: 417
file content (94 lines) | stat: -rw-r--r-- 2,747 bytes parent folder | download | duplicates (7)
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<sect1 id="SureElec">
<title>The SureElec Driver</title>

<para>
  Driver for the LCD modules (actually the controller board) available from
  the 'SURE electronics' shop (<ulink url="http://www.sureelectronics.net/"></ulink>).
</para>
<para>
  These devices are PIC based controlled, using a serial communication
  protocol with the host. The actual connection to host is done through
  USB through a serial-to-USB converter (CP2102 USB to UART Bridge)
  integrated on the board.
</para>

<sect2 id="SureElec-config">
<title>Configuration in LCDd.conf</title>

<sect3 id="SureElec-config-section">
<title>[SureElec]</title>

<variablelist>
<varlistentry>
  <term>
    <property>Device</property> =
    <parameter><replaceable>DEVICE</replaceable></parameter>
  </term>
  <listitem><para>
    Name of the device the display appears as. By default first USB serial device
    <literal>/dev/ttyUSB0</literal> is used.
  </para></listitem>
</varlistentry>

<varlistentry>
  <term>
    <property>Edition</property> =
    <parameter><replaceable>EDITION</replaceable></parameter>
  </term>
  <listitem><para>
    Edition level of the device (can be 1, 2 or 3). The default is <literal>2</literal>.
  </para></listitem>
</varlistentry>

<varlistentry>
  <term>
    <property>Size</property> = &parameters.size;
  </term>
  <listitem><para>
    Set the display size in characters. This is required for edition 1 devices.
    For edition 2 &amp; 3 devices this value, if defined, overrides the size
    read directly from the device.
  </para></listitem>
</varlistentry>

<varlistentry>
  <term>
    <property>Contrast</property> =
    <parameter><replaceable>CONTRAST</replaceable></parameter>
  </term>
  <listitem><para>
    Select the display's contrast, <literal>480</literal> is the default.
    Permissible values are in the range of <literal>0</literal>-<literal>1000</literal>.
  </para></listitem>
</varlistentry>

<varlistentry>
  <term>
    <property>Brightness</property> =
    <parameter><replaceable>BRIGHTNESS</replaceable></parameter>
  </term>
  <listitem><para>
    Select the display's brightness, <literal>480</literal> is the default.
    Permissible values are in the range of <literal>0</literal>-<literal>1000</literal>.
  </para></listitem>
</varlistentry>

<varlistentry>
  <term>
    <property>OffBrightness</property> =
    <parameter><replaceable>OFFBRIGHTNESS</replaceable></parameter>
  </term>
  <listitem><para>
    Select the display's when the display is normally switched off in case LCDd
    is inactive, <literal>100</literal> is the default.
    Permissible values are in the range of <literal>0</literal>-<literal>1000</literal>.
  </para></listitem>
</varlistentry>

</variablelist>

</sect3>

</sect2>

</sect1>