But what do I need to define so that I can just say
Code:
ADCON1bits.ADON = 1;
yes, I realize that there are prewritten functions to turn on the ADC. But there are no prewritten functions to simultaneously sample 4 inputs. So I'm having to deal with lots of SFRs. Some of the microchip application notes have been very helpful, and I've actually gotten it to work.
Maybe this is heresy, but I'd like to use them in the same manner that C30 allows you to.
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Thu Apr 16, 2009 4:11 pm
You didn't post your PIC. I don't know what PIC has ADCON1 at 0x2A0.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum