View previous topic :: View next topic |
Author |
Message |
flip
Joined: 15 Feb 2005 Posts: 11
|
Using PORT A while also using ADC |
Posted: Fri Feb 18, 2005 10:40 am |
|
|
Hi, I'm using the ADC on port A0, and I also want to output on the other bits of port A. Is this possible? I notice if I set tris A to anything, then it will screw up the ADC. Thanks |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Fri Feb 18, 2005 10:53 am |
|
|
Read the datasheet. Look under the Analog to Digital convertor section. It will show you what combination of Analog and Digital you can have. You didn't specify what pic but for the ones that I know, yes you can. |
|
|
Guest
|
|
Posted: Fri Feb 18, 2005 11:05 am |
|
|
yeah thanks, I'm, using the 18f458 |
|
|
|