as far as port I am using .
RB4 to RB7 out to LCD
RB0 RB1 as enable and register select bit

RA analog input

k