|
Re: When would I use an interrupt?
In summary of the above, interrupts are more or less only necessary if the event triggering the interrupt is: (a) highly time sensitive, that is, the code should execute EXACTLY when that event occurs; or (b) going to be occuring faster than the main loop would poll for it (ie. hundreds or thousands of times per second).
|