PIC18F26K80 A/D Converter
I think this would be the right place to ask this. I have a 18F26K80 that I'm trying to turn off the A/D on the A ports.
I tried the following;
ADCON0=$00 'switch the Analogue A/D pins to Digital I/O mode.
ADCON1=7 'switch the Analogue A/D pins to Digital I/O mode.
ADCON2=$00 .
TRISA = $FF ' set port a to all inputs ' 28
TRISB = $00 'set port b to all outputs ' 29
TRISC = $FF 'set port c to all inputs ' 30
However, the inputs on the A ports are still ignored. What am I doing wrong?? :confused:
Thanks
Re: PIC18F26K80 A/D Converter
Hi,
I've already tried to help you with this in the other thread where you posted the exact same question yesterday. Why not follow up on that?
/Henrik.
Re: PIC18F26K80 A/D Converter
Thank you Henrik. When I re-posted here I thought no one had responded to the other thread. I will try your suggestion.:D