Skip to main content
Visitor II
March 19, 2010
Question

STM8S103K ADC

  • March 19, 2010
  • 3 replies
  • 720 views
Posted on March 19, 2010 at 11:49

STM8S103K ADC

    This topic has been closed for replies.

    3 replies

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:07

    Hi lars,

    What are you doing in ADC1_GetConversionValue() ?

    Mit besten grüssen,

    MCU Lüfter

    lars23Author
    Visitor II
    May 17, 2011
    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

    Visitor II
    May 17, 2011
    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