Interrupts

Examples of how to use interrupts in my code?

**Read the “Using Polled or Interrupt-driven Timers” white paper available here, http://www.ifirobotics.com/docs/timers_white_paper_2004-jan-14.pdf.

It provides useful tips on how to program using interrupts, but Innovation First does not provide support for it.

Further detailed example code is also available from: http://kevin.org/frc/

Using interrupts can quickly become very complicated and cause mysterious problems. You can get more information by reading Microchip’s “MPLAB® C18 C Compiler User’s Guide”, pages 25-30, 44, and 53-55, as well as the 18FXX20 Data Sheet.
**

Can I use and Interrupt pin as an output?

This is possible, but Innovation First does not provide support for the feature at this time.