Delay function with timer
Posted on February 22, 2013 at 09:12Hi, I am trying to make a simple delay function using a timer but i get weird results .Here is some of the code void TIMERS_init(){ TIM3->PSC = 23999; // f timer = fclk / 24000 => 1kHz TIM3->ARR = 0xFFFF; TIM3->...