Page 1 of 1

ADC(0) connected to other port ???

Posted: Fri May 14, 2010 8:58 am
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

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

Posted: Fri May 14, 2010 3:47 pm
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.