> > The Enable low and high times must be over 500ns each. > > the code shows a call to DelayFor18TCY() function (which I have to provide) after making E high, then again after making E low. My current implementation of that function actually delays for 100 instruction cycles (which on 20 MHz clock equates to 20 microseconds, which ought to be sufficient. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist