I will try to read the ADC manually then,
And I missed your hint, because the code is working for those I/O's (however the comments are wrong!).
Looks better now'Set entire PortB as digital output
PORTB = %00000000
TRISB = %00000000
'Set entire PortC as digital output
PORTC = %00000000
TRISC = %00000000
'Set entire PortD as digital output
PORTD = %00000000
TRISD = %00000000![]()
Bookmarks