Page 1 of 1

ADC 18F2580

Posted: Wed Aug 11, 2010 7:45 am
by Rob
Hi, I am trying to use six ADC channels on a 18F2580 however the flow code program (I have tried 3 & 4, both full versions) does not follow the seqence i.e. ADC0-4,ADC8-10 instead it goes ADC0-7 ?
I tried to edit the fcd file but it did not seem to have an effect. Any help would be most welcome :P
Thanks for your time
regards
Rob

Re: ADC 18F2580

Posted: Wed Aug 11, 2010 8:58 am
by Benj
Hello Rob,

This updated v3 FCD file now fixes the misnumbered ADC channels.

To fix the FCD file I changed the ADCPins count from 8 to 11 and changed the ADCPins so that the unused channels are set to 0. I will fix the problem in the FCD source so the next release of Flowcode will have all the correct FCDs for these devices.

Re: ADC 18F2580

Posted: Wed Aug 11, 2010 9:26 am
by Rob
Benji,
The file worked on flowcode 3 and I inserted the changes into the flowcode 4 fcd and now that seems to work fine as well,

thank you for the speedy reply :P

regards
Rob