"Haris I. Volos" wrote: > > Hi! > > I have recently posted a message about controlling an HD44780 display > because I couldn't make my code to work, finally I managed to initialise the > lcd and display its cursor. > > The problem is when I make the RS(which is connected to RE2) input of the > LCD high so I can enter characters to the LCD instead of commands, in my > surprise I discover that the RE2 pin goes high only for a very small > fraction of time and then goes back low!!! I have a > bsf PORTE,2 Check that the analog convertor is not enabled for PORTE. BSF will read PORTE, and if analog, will always read logic 0, and thus set pins to 0 other than the BSF pin. -- Best regards Tony mICros http://www.bubblesoftonline.com mailto:sales@bubblesoftonline.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.