⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lb216.docbook

📁 linux下LCD驱动的例子代码
💻 DOCBOOK
字号:
<sect1 id="lb216-howto"><title>The lb216 Driver</title><para>This section talks about using LCDproc with LCD displays that use thelb216 chipset.</para><sect2 id="lb216-connections"><title>Connections</title></sect2><firstname>Chris</firstname><surname>Debenham</surname>eSun Systems Engineer<email>chris.debenham@aus.sun.com</email><screen>Heres a bit more info on the display.It is the LB216 and is made by R.T.N. AustraliaThe web page for it is http://www.nollet.com.au/It is a serial 16x2 LCD with software controllable backlight.They also make 40x4 displays (which I'll be getting one of soon :-) )3 wire connection (5V,0V and serial), 2400 or 9600 bps.8 custom characters40*83.5MM sizemade in australia :-)</screen><!-- ## LB216 driver ## --><sect2 id="lb216-config"><title>Configuration in LCDd.conf</title><sect3 id="lb216-config-section"><title>[lb216]</title><variablelist><varlistentry>  <term>    <command>Device=</command>    <arg choice="plain"><replaceable>DEVICE</replaceable></arg>  </term>  <listitem><para>    Select the output device to use [default: <filename>/dev/lcd</filename>]  </para></listitem></varlistentry><varlistentry>  <term>    <command>Brightness=</command>    <arg choice="plain"><replaceable>BRIGHTNESS</replaceable></arg>  </term>  <listitem><para>    Set the initial brightness [default: <literal>255</literal>; legal: <literal>0</literal> - <literal>255</literal>]  </para></listitem></varlistentry><varlistentry>  <term>    <command>Speed=</command>    <arg choice="plain">    <group choice="req">      <arg choice="plain"><literal>2400</literal></arg>      <arg choice="plain"><literal><emphasis>9600</emphasis></literal></arg>    </group>    </arg>  </term>  <listitem><para>    Set the the baud rate to use when communicating with the LCD.    If not given, the default is <literal>9600</literal>.  </para></listitem></varlistentry><varlistentry>  <term>    <command>Reboot=</command>    <arg choice="plain">    <group choice="req">      <arg choice="plain"><literal>yes</literal></arg>      <arg choice="plain"><literal><emphasis>no</emphasis></literal></arg>    </group>    </arg>  </term>  <listitem><para>    Reinitialize the LCD's BIOS [default: <literal>no</literal>; legal: <literal>yes</literal>, <literal>no</literal>]  </para></listitem></varlistentry></variablelist></sect3></sect2></sect1>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -