|
When would I use an interrupt?
I'm a noob to C programming, and don't understand how interrupts work, so...
How is:
void Default_Routine(void)
{
if(bButtonA)
vButtonPressed();
....
};
different from calling an interrupt when ever bButtonA is pressed?
(i tried to post this message earlier, but it didn't seem to go though...)
|