16F18875 ADC issues.

A forums to allow bugs and problems with Flowcode v7 to be reported and resolved.

Moderator: Benj

Post Reply
medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

16F18875 ADC issues.

Post by medelec35 »

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
Martin

User avatar
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.

Post by LeighM »

Thanks, this should fix it ...
Attachments
PIC_CAL_ADC.c
(118.47 KiB) Downloaded 214 times

User avatar
Steve001
Valued Contributor
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.

Post by Steve001 »

did a quick test tonight - looks like its working

reading AN32 as a string ok 0 - 5 volts :mrgreen:

Thanks

Steve
Success always occurs in private and failure in full view.

medelec35
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.

Post by medelec35 »

That's good as I was hoping I could work out was the issue in the end.
Thanks for keeping us updated.

Martin
Martin

Post Reply