Hi, shameless plug: This is my HD44780 implementation. It is very stable and offer some advantages over many other available on the Internet. I wrote it following the original HD44780 datasheet. Cheers, Isaac On 17/03/2015 09:09, Matt Rhys-Roberts wrote: > Hi, I'm right at the start of trying to drive a generic ST7066U-based=20 > 2x16 LCD character display, compatible with HD44780/KS0066/KS0070B etc. > > Talking to the display can be done using 4 or 8 bits. I'm using 8 bits=20 > for now until I can prove any advantage to using 4. Pin count costs,=20 > perhaps? Any opinions on this please? > > It seems logical to use the pre-written LCD library code provided by=20 > Microchip, rather than write my own, at this stage. So I think I need to= =20 > include xlcd.h, but then I'm not too clear about getting the job done. I= =20 > can see a number of .c files under=20 > /opt/microchip/xc8/v1.33/sources/pic18/plib/XLCD which I guess I'd call,= =20 > and pass parameters accordingly. > > So my question is, has anyone seen a good user guide to setting all this= =20 > up? I seem to have found the details before finding any kind of manual. > > Many thanks, > Matt. --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .