STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I am using STM32F407vg, i wrote a code for ADC while debugging value is not updating no errors as well in the code. i connected a 10K potentiometer to PA0, i checked with DMM no issues. I am adding my code snippet please let me know the mistake.

/* Includes ------------------------------------------------------------------*/ #include "main.h" #include "stm32f4xx_rcc.h" #include "stm32f4xx_gpio.h" #include "stm32f4xx_adc.h"   /* Private variables ----------------------------------------------...

psati by Associate II
  • 457 Views
  • 1 replies
  • 0 kudos

reset timer count value

i wrote a program and i want to turn on the led after passing a 500 and 750 , 1000ms.i use out put compare and use active on mach timer mode.but it only work one time , i realize that i should reset my timer and count value but i don't know how?plea...

Aes.1 by Associate
  • 506 Views
  • 1 replies
  • 0 kudos