Hi nomad,
i think i know what's going on !
the thing is that i moved the stardard configuration to give me the RA0 and RA1 free and use them for analog input.
I have my code set for all PORTa to be input and analog...dahhh ( therefore the lcd RS to pic RA4 is not working )
TRISA = %11111111 ' Set PORTA to all input
ADCON1 = %10000010 ' Set PORTA analog and right justify result
This is why it doesnt work.
I need to set ONLY PORTA 0 and 1 ports analog and not all.
I will remove the first line ( trisa = %1111111 ) because it doesnt make any sense.
About the second line : ADCON = %10000010...
how can i set only RA0 and RA1 analog and the rest of the portA digital ?
thanks
Bookmarks