STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Bug in ADC1_GetConversionValue() ?

Posted on February 20, 2012 at 12:46I was trying to get the ADC working on an STM8S discovery, but left and right alignment setting of the ADC gives different results. In the file stm8s_adc1.c of the standard firmware library there is:/* Left alignm...

klaasdc by Associate II
  • 402 Views
  • 1 replies
  • 0 kudos

Help with ADC

Posted on April 25, 2012 at 10:31Hello I'm beginning programming in C and with STM8S discovery and i would like watch an example of how take the datas from a LM35, convert it with ADC1 and save in one value (for work before with it). Some one can se...

ikeritu by Associate
  • 357 Views
  • 0 replies
  • 0 kudos

multichannel ADC

Posted on July 01, 2010 at 01:39Hello all, The analog to digital example provided, ADC, uses 1 analog channel (channel 9) only.  I am working on an application and need to convert 2 voltage channels. 1) is there a way to set up the A/D to cause an i...