Interrupts

From FIRSTwiki

Jump to: navigation, search

An interrupt, as its name implies, interrupts the normal course of a program and executes a certain piece of code, usually related to whatever input caused the interrupt.

In FIRST, an intterupt can be used to interrupt the main loop in the default code. Interrupts can be set to occur for a variety of reasons; timers, digital inputs, pwm inputs, etc. The code that is run when an interrupt happens is called the interrupt service routine (ISR).

This article is currently a stub (a short article without much content). Please add more content to make a significant article. If you'd like to add to more stubs, look at the list of short articles.
Personal tools