cancel
Showing results for 
Search instead for 
Did you mean: 

Impossible to use ADC on several channels

Posted on October 08, 2009 at 12:05

Impossible to use ADC on several channels

3 REPLIES 3
Posted on May 17, 2011 at 15:04

[ This message was edited by: bruno.richard on 06-10-2009 16:46 ]

mozra27
Associate II
Posted on May 17, 2011 at 15:04

Hi Bruno,

I don't understand what do you mean by impossible to use ADC on several Channels....

I have update your code to use the Potentiometer (RV1) channel9, the microphone as external analog input channel11 (U8) and the BNC connector as external analog input channel12 (CN3) and it works fine

You can find attached the project updated

Regards

mozra

Posted on May 17, 2011 at 15:05

Hi Mozra,

I have found the problem: The VREF+ and VREF- pins were left unconnected on my STM8, so ADC was measuring the entropy of the universe.

Thanks for your help,

Bruno