updated hd44780.docbook with Matteo Pillon's lcdserializer documentation patch

This commit is contained in:
marschap
2005-05-17 18:13:15 +00:00
parent e2cd8a6b0e
commit b23db720cb
+24 -10
View File
@@ -17,7 +17,7 @@ parallel port:
<listitem><para>serial LPT</para></listitem> <listitem><para>serial LPT</para></listitem>
</itemizedlist> </itemizedlist>
<para> <para>
And supports a PIC-an-LCD connected to a serial port. And supports a PIC-an-LCD or LCD serializer connected to a serial port.
</para> </para>
<para> <para>
The driver also lets you use multiple displays as a single virtual The driver also lets you use multiple displays as a single virtual
@@ -1038,7 +1038,7 @@ It does not support a keypad nor backlight switching.
<para> <para>
LCD serializer connection is technically the same of PIC-an-LCD with the same advantages, LCD serializer connection is technically the same of PIC-an-LCD with the same advantages,
it uses the serial making things really simple. it uses the serial making things really simple.
<link linkend="http://www.mindspring.com/~tcoonan/lcd.html">LCD serializer</link> <ulink url="http://www.mindspring.com/~tcoonan/lcd.html">LCD serializer</ulink>
is not a commercial product like PIC-an-LCD, it's just a project found digging on the net freely available. is not a commercial product like PIC-an-LCD, it's just a project found digging on the net freely available.
You have all the tools and the code to build it yourself and to customize the behaviour of the device. You have all the tools and the code to build it yourself and to customize the behaviour of the device.
</para> </para>
@@ -1050,8 +1050,8 @@ You have all the tools and the code to build it yourself and to customize the be
<itemizedlist> <itemizedlist>
<listitem><para>Some electronic knowledge and familiarity with the soldering iron</para></listitem> <listitem><para>Some electronic knowledge and familiarity with the soldering iron</para></listitem>
<listitem><para>A PIC16F84 (I used PIC16F84A) or PIC16C54</para></listitem> <listitem><para>A PIC16F84 (I used PIC16F84A) or PIC16C54</para></listitem>
<listitem><para><link linkend="http://jdm.homepage.dk/newpic.htm">JDM PIC programmer</link></para></listitem> <listitem><para><ulink url="http://jdm.homepage.dk/newpic.htm">JDM PIC programmer</ulink></para></listitem>
<listitem><para><link linkend="http://gputils.sf.net">gputils</link> and <link linkend="http://www.iki.fi/hyvatti/pic/picprog.html">picprog</link> installed on your GNU/Linux box</para></listitem> <listitem><para><ulink url="http://gputils.sf.net">gputils</ulink> and <ulink url="http://www.iki.fi/hyvatti/pic/picprog.html">picprog</ulink> installed on your GNU/Linux box</para></listitem>
</itemizedlist> </itemizedlist>
</para> </para>
</sect4> </sect4>
@@ -1062,13 +1062,19 @@ You have all the tools and the code to build it yourself and to customize the be
<para> <para>
First, you need to download the asm source for your pic and then make the hex: First, you need to download the asm source for your pic and then make the hex:
<command> <command>
wget http://www.mindspring.com/~tcoonan/lcd18f84.asm <para>
gpasm lcd18f84_custom.asm wget http://www.mindspring.com/~tcoonan/lcd18f84.asm
</para>
<para>
gpasm lcd18f84_custom.asm
</para>
</command> </command>
Now the binary is ready to be flashed to the PIC. Now the binary is ready to be flashed to the PIC.
Connect the programmer with the PIC installed and issue the following command to see it burning ;-): Connect the programmer with the PIC installed and issue the following command to see it burning ;-):
<command> <command>
picprog --erase --burn --input lcd16f84.hex --pic /dev/ttyS0 <para>
picprog --erase --burn --input lcd16f84.hex --pic /dev/ttyS0
</para>
</command> </command>
</para> </para>
@@ -1078,12 +1084,16 @@ Connect the programmer with the PIC installed and issue the following command to
<title>Running lcdproc</title> <title>Running lcdproc</title>
<para> <para>
It's time to build the <link linkend="http://www.mindspring.com/~tcoonan/lcdpic.html">operating circuit</link> and to power on your new toy. It's time to build the <ulink url="http://www.mindspring.com/~tcoonan/lcdpic.html">operating circuit</ulink> and power on your new toy.
You should see OK. on the LCD screen, otherwise, double-check all the connections. You should see OK. on the LCD screen, otherwise, double-check all the connections.
Now change LCDd.conf to include the following statments in the hd44780 section: Now change LCDd.conf to include the following statments in the hd44780 section:
<command> <command>
ConnectionType=lcdserializer <para>
Device=/dev/ttyS0 ConnectionType=lcdserializer
</para>
<para>
Device=/dev/ttyS0
</para>
</command> </command>
Start the daemon and relax watching lcdproc running. Start the daemon and relax watching lcdproc running.
</para> </para>
@@ -1167,6 +1177,10 @@ it clear, how the ConnectionType is to be set.
<entry>BWCT USB device "bwctusb"</entry> <entry>BWCT USB device "bwctusb"</entry>
<entry>bwctusb</entry> <entry>bwctusb</entry>
</row> </row>
<row>
<entry>LCD serializer "lcdserializer"</entry>
<entry>lcdserializer</entry>
</row>
</tbody> </tbody>
</tgroup> </tgroup>
</table> </table>