MENU

Fun & Interesting

Level Up Your Arduino Code: External Interrupts

SparkFun Electronics 177,363 7 years ago
Video Not Working? Fix It Now

We recommend viewing the lesson on registers before tackling the concepts shown in this video: https://www.youtube.com/watch?v=6q1yEb_ukw8 We examine external interrupts on this episode of Adventures in Science as we continue our journey learning about the inner workings of Arduino. External interrupts are anything that’s outside (but connected to) the microcontroller and can interrupt the main execution thread to perform some action. We look at the attachInterrupt() Arduino function and then break it apart to set up an interrupt by manually writing to registers.

Comment