Embedded Systems

SDCC library for controlling a 16x2 LCD display from a PIC.

Submitted by martyn on Thu, 29/03/2007 - 18:03

So, you have a small LCD character display, with a Hitachi HD44780 compatible controller and a PIC. You want to control the LCD display from the PIC. There seems to be quite a bit of sample code on the web, however, it seems to either have been written or an alternative microcontroller or in assembly. Well, here's a very basic library for writing to the controller from SDCC.