Posted on May 17, 2011 at 13:19Hello, thank you very mutch, now it's working Quote:void TIM2_IRQHandler (void) { // Interrupt Flag' muß per Software gelöscht werden myTimerCounter1++; } int main(void) { // ++ Initalisieren while (1) { ...
Posted on May 17, 2011 at 13:19Hello Togehter, I try also to code the Timer without the Libary. Code: <BR>void TIM2_IRQHandler (void) { <BR> <BR> <BR>} <BR> <BR>int main(void) { <BR> <BR> <BR> <BR> while (1) { <BR> // Zusammen 1 Sekunde... <BR> Dela...
Posted on May 17, 2011 at 13:19Hello, I just make my first steps with STM32 Timer, I have setup a mini timer Quote:volatile s32 myTimerCounter = 0; void TIM2_IRQHandler(void) { myTimerCounter++; } int main(void) { // Initalisieren, STM32_Init, ...
Posted on May 17, 2011 at 13:19Hello Togehter, ok, here is my current code Code: volatile s32 myTimerCounter1 = 0; void TIM2_IRQHandler(void) { // Also cleared the wrong interrupt flag in the ISR TIM_ClearFlag(TIM2, TIM_FLAG_Update); // TIM_GetI...
Posted on May 17, 2011 at 13:19 Hello Togehter, I just make the step from AVR to powerfull STM32 and need to controll a servo. Timer for the STM32 are for me very confused, so my question, has somebody already made a servo board, lik...