Hey Ken,
I know a lot of people prefer on interrupt type. But my vote for easy interrupt is to use Darrels instant interrupts (and I think an equally large number of people like them as well). Here is a simple example of a blinky interrupt using his include files. The pages on this site have a lot of information about the different kinds of interrupts you can do. Your chip needs to use DT_INTS-14. And of course DT_INTS-18 is for PIC18 devices.
http://darreltaylor.com/DT_INTS-14/blinky.html
Last edited by ScaleRobotics; - 19th November 2010 at 15:20.
http://www.scalerobotics.com
Bookmarks