Embedded Priority Interrupts

Data & Observations
           Now the fun part, does this system work and what exactly does it do? Well, if you've been following along, the answer is simple: blink LEDs! But its the how and why certain LEDs blink that will tell us which state the microcontroller is in. The 'KnightRider' state means we're currently in the main program loop. All LEDs flashing means High Priority interrupt and one led turning on at a time is the Low Priority interrupt.


           The video shows the 3 different states as we designed for and then shows how both the main program loop and low priority interrupt cycle could be interrupt by the high priority interrupt. Similarly, it was shown that the low priority interrupt could not interrupt the high priority interrupt. So much interrupting going on...it's madness!



;