PIC_CAL_ADC.c (ADC_TYPE_34) ADC channels only go up to 24 whereas 16F18875 has got 34 ADC channels.
Reference to this here
16F18875 ADC issues.
Moderator: Benj
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: 16F18875 ADC issues.
Thanks, this should fix it ...
- Attachments
-
- PIC_CAL_ADC.c
- (118.47 KiB) Downloaded 214 times
- Steve001
- Valued Contributor
- Posts: 1189
- Joined: Wed Dec 31, 2008 3:37 pm
- Has thanked: 460 times
- Been thanked: 523 times
- Contact:
Re: 16F18875 ADC issues.
did a quick test tonight - looks like its working
reading AN32 as a string ok 0 - 5 volts
Thanks
Steve
reading AN32 as a string ok 0 - 5 volts
Thanks
Steve
Success always occurs in private and failure in full view.
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: 16F18875 ADC issues.
That's good as I was hoping I could work out was the issue in the end.
Thanks for keeping us updated.
Martin
Thanks for keeping us updated.
Martin
Martin