So you said there was a way of reading a pot in analog? Is there any chance you could give me a little synopsis of how it is done? Thankyou.
So you said there was a way of reading a pot in analog? Is there any chance you could give me a little synopsis of how it is done? Thankyou.
Assuming your POT impedance is equal or less than the maximum recommended, you just need to feed the wiper to a PIC analog input and use the internal ADC.
PBP ADCIN is a nice start point.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
This is for a 877 but it will help you get the picture.
http://www.rentron.com/PICX2.htm
Be sure to look at the speacial feature part of the data sheet for the PIC you are usinf as at this point the PIC are not "standard".
There is a RCTIME and place for everythingUpgrading from the BS2, you will enjoy the built in ADC on some PICs. If you have used an external ADC with the BS2, do not try and compare this with the ones built in. End result the same but how tou get there is another story.
Have fun.
Dave
Always wear safety glasses while programming.
Bookmarks