ADC 18F2580

Forum for problems or queries regarding other Flowcode Components. Eg LEDs, Switches, LCD, Gfx LCD etc

Moderators: Benj, Mods

Post Reply
Rob
Flowcode V4 User
Posts: 10
Joined: Mon Mar 09, 2009 5:24 pm
Contact:

ADC 18F2580

Post 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

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: ADC 18F2580

Post 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.
Attachments
18F2580.fcd
(7.14 KiB) Downloaded 389 times

Rob
Flowcode V4 User
Posts: 10
Joined: Mon Mar 09, 2009 5:24 pm
Contact:

Re: ADC 18F2580

Post 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

Post Reply