Phillip wrote: > Hi > > I'm having difficulties using a 18F6520 to control an LCD display. > > For some reason my reads/write fail unless after writing to the TRISD > register to change the direction I add about 50usecs of delay. > > I don't know if this has something to do with it, but with VARITRONIX LCDs, I found out I needed a 50 usec delay after the 4 init bytes, before I could reliable give some commands. This delay of 50 usec was not in the specs, nor the manufacturer did know about ;-) Stef -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist