Yup TIMER interrupt is the way to go.