Re: Program LCD HD44780 with 68HC11 in Handyboard



Hi,

Instead of connecting your HD44780 to the external databus, consider a
display
connection, where your 68HC11 is running in single chip mode and you
emulate
the RS, R/W and E signals and the 8 bit databus, using a byte port for
the databus
and three bit ports for RS, R/W and the E signals.

It is slightly less efficient than using an external data bus, but
easier to handle,
eg.:

void wr_disp( unsigned char rs, unsigned char val )
{
RS = rs;
RW = 0;
DISPDATA = val;
E = 1;
E = 0;
}

.