> Here's the code: > > #include > > __CONFIG(INTIO & WDTDIS & PWRTDIS & MCLREN & UNPROTECT & BORDIS & LVPDIS); > > #define RS RA2 > #define RW RA3 > #define E RA4 > #define D4 RB0 > #define D5 RB1 > #define D6 RB2 > #define D7 RB3 Without digging extensively in to your code, I note that you're driving E with RA4, which is an open drain output. Do you have a pull-up on that line? Harold -- FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist