This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Triggering a task when a TIMER event

I'm looking at the led.c example in the heart rate monitor example. What this shows is how to tie a TIMER event to toggling an LED. I understand most of the mechanism there. The novice that I am, it is not clear to me, however, how I'd connect that event to trigger a custom task (in my case, reading data from a TWI peripheral). Any code examples, documentation, or sample code out there?

Thanks!

Related