cancel
Showing results for 
Search instead for 
Did you mean: 

STM8S103K ADC

lars23
Associate
Posted on March 19, 2010 at 11:49

STM8S103K ADC

3 REPLIES 3
lowpowermcu
Associate II
Posted on May 17, 2011 at 15:07

Hi lars,

What are you doing in ADC1_GetConversionValue() ?

Mit besten grüssen,

MCU Lüfter

lars23
Associate
Posted on May 17, 2011 at 15:07

Hi,

that's just a firmware-function, where the ADC-data is read out.

It's working fine. The software should work, because I just use it somewhere else.

regards,

Lars

brazov22
Associate II
Posted on May 17, 2011 at 15:07

Hi,

please check AFR2 option bit is not set otherwise AIN2 is on PC4 and AIN3 on PD2.

brazov