ADC(0) connected to other port ???

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
Frank123
Posts: 36
Joined: Fri Jan 15, 2010 5:17 pm
Location: Saint-Nazaire - France
Has thanked: 1 time

ADC(0) connected to other port ???

Post by Frank123 »

Hi,
When I use the ADC, the first is called: ADC (0) the second ADC (1) and so on. I can change the connections but not the name and then i have ADC (0) connected to AN5 for example. To avoid this I'm oblige to use 6 ADC and erase the 5 first.

can it be otherwise?

Thank's
Frank
Electronics teacher

User avatar
Steve
Matrix Staff
Posts: 3434
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: ADC(0) connected to other port ???

Post by Steve »

The naming of the ADC module in Flowcode (i.e. ADC(0), ADC(1), etc) is totally independent of the ADC channel number in the PICmicro itself (i.e. AN0, AN1, etc).

So in Flowcode, ADC(0) could be attached to AN4.

I do understand that this causes some confusion, and we will try to make this better in Flowcode v5.

Post Reply