Use TRIS registor for | Microcontroller › PIC › help interfacing two lm35 pic16f877a and lcd › Use TRIS registor for December 18, 2012 at 9:53 am #8850 HemrajParticipant Use TRIS registor for direction. Not PORTD.