Hey, Peter ! Monday, October 7 2002 =E3., you wrote: PB> SETBIT(PORTA, E); PB> delay_ms(5); PB> CLEARBIT(PORTA, E); between these clearbit and setbit you have a delay of 1 cycle (1us at 4Mhz). Is your LCD capable to work at such speed? try to put delay_ms(5) here. PB> SETBIT(PORTA, E); PB> delay_ms(5); PB> CLEARBIT(PORTA, E); the same. PB> SETBIT(PORTA, E); PB> delay_ms(5); PB> CLEARBIT(PORTA, E); the same. instead of using your own delay routine,you can use hi-tech DelayMs and DelayUs (\Samples\Delay\Delay.c and \Samples\Delay\Delay.h) ps sorry for my english :) Best regards, Yura mailto:yura_boy@mail.ru -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu