Is there something strange here?Code:TRISA = %11111111 ' Set PORTA to all input TRISC = %00000000 ' Sets all PortB pins to output ADCON1 = %10000101 ' Set PORTA analog and right justify result ADCON0=%00000000 low portc.4 low portc.5
Is there something strange here?Code:TRISA = %11111111 ' Set PORTA to all input TRISC = %00000000 ' Sets all PortB pins to output ADCON1 = %10000101 ' Set PORTA analog and right justify result ADCON0=%00000000 low portc.4 low portc.5
Last edited by pedja089; - 8th July 2016 at 21:42.
Bookmarks