N STEENKAMP [M.ING E&E] wrote: > Hi, > > > Hi guys. > > > > Has anyone got a short piece of code that works off a 16c84 on a > 16x1 > > LCD module? > > I need to test my LCD module, since I can't seem to get it running > with > > the PIC. > > > > Using code thats known to work should tell me whether the LCD or my > code > > is wrong. > > > > Here is a piece of code that works. > It uses the LCD in 4 bit mode with D4-D7 connected to RB0-RB3, RS > connected to RB7, EN connected to RA3 and RW grounded. The delays are > > calibrated for a 4MHz crystal. > > Hope this helps. > Niki Thank you! EXACTLY what I was looking for! Thanks a million Niki! -- Eric van Es | Cape Town, South Africa mailto:vanes@ilink.nis.za | http://www.nis.za/~vanes LOOKING FOR TEMPORARY / HOLIDAY ACCOMODATION? http://www.nis.za/~vanes/accom.htm