chipKIT® Development Platform

Inspired by Arduino™

Timer interrupt - How to use it???

Created Sun, 26 May 2013 23:23:34 +0000 by tsalzmann


tsalzmann

Sun, 26 May 2013 23:23:34 +0000

I'm very new to timer interrupts and I would like to know if someone has a good tutorial for timers. What I'm trying to do is to tunr on/off a LED every 500ms using timer interrupts. I saw some examples for the arduino but it is not compatible with the max32. I would also like to know where I could find all registers, how they work and what they actually do... I really want to know timer interrupts pretty well.. :roll:

Thanks in advance


majenko

Sun, 26 May 2013 23:29:44 +0000

Start with the data sheet for the chip on your board, whichever board that is.

Then look at the relevant sections of the PIC32 Family Reference Manual. There used to be an index of the sections, but I can't find it. Just google for "PIC32 Family Reference Manual <section>" where <section> is the topic you're interested in - interrupts, timers, etc.