cancel
Showing results for 
Search instead for 
Did you mean: 

Problem at programming TIM2

reg234
Associate
Posted on April 08, 2011 at 12:39

Prompt, please, the link to examples of programming TIM2 so that at regular intervals there was an interrupt.

I study reference manual STM8L152C6, but without examples to understand difficultly.
1 REPLY 1
vincent.philippe
Associate II
Posted on April 14, 2011 at 18:43

Hi,

 Quickly, based on STM8l15x lib, find a little example with TIMER2.

TimerTick interrrupt = 1 ms

Find the little main.c

I hope it is enought, feel free to come back if not.

Rgds

Philippe