Quote:
|
Originally Posted by Splintercell
Thanks, I'm going to have to look around on this, but I hope it works. I have changed the ADCON0bits.CHSx to diferent pins, but I have yet to get two different pins to work in the same code. It either doesn't work or tells me the error I posted previously. I'll try the OenADC() and see if it works. Thanks again all.
|
What are you trying to do with your code? You mentioned that you wanted to do two simultaneous ADC conversions. This cannot be done because there is only one ADC on-board. You have to select the channel to convert (which automatically starts a conversion), wait for it to finish, grab the data, select new channel, wait for it to finish, ...
-Kevin