Most LCD displays are controlled through some kind of parallel bus.
This means that at least 8 lines (plus strobe) are needed to drive
the display. Most controllers only have a limited number of
data lines and you probably would like to use some
of these lines for other purposes.
In the past, some curcuits have been published that require only
four lines to drive an LCD, but the circuit described here only
uses three wires.
Please examine the circuit diagram carefully to find out how it
works and use it to your advantage. The source code is available
and can be downloaded below. Full comments are available within
the source (in English).
This ZIP file contains the full source code and the circuit diagram.
It allows you to control a standard LCD display from a PIC
micro controller using 3 wires only. The circuit diagram is
included as a GIF image (18 KB).