Interrupts are a fantastic tool to help increase the efficiency of your Arduino code and are typically very underutilized! So what exactly is an interrupt? In simple terms, interrupts are a mechanism found on Arduino (and many other microcontrollers) that simplify the process of reacting to real time events. This is achieved by constantly monitoring the status of a pin and immediately executing code, interrupting whatever was currently running, when the state of a pin changes (or on a rising or falling edge as desired). As you can imagine, this is significantly more efficient than having to wait for your code to reach the specific line where it checks the status of an input, and it frees up your Arduino to focus on other tasks rather than monitoring the state of a pin. To learn more about interrupts and how you can use them in your projects check out the video below from Core Electronics.
International shipping is back!
Latest Tweets
Latest Posts
Latest Comments
- Jurgen Coetsiers on Rack32 Universal Rack Controller ESP32 Control Board
- Sergio on Rack32 Universal Rack Controller ESP32 Control Board
- Jonathan Oxer on Rack32 Universal Rack Controller ESP32 Control Board
- gunnar on Rack32 Universal Rack Controller ESP32 Control Board
- Jonathan Oxer on #45: First look at the new Shelly Pro 4PM
Blog Categories
Archives
- January 2023
- December 2022
- November 2021
- September 2021
- July 2021
- June 2021
- March 2021
- January 2021
- December 2020
- October 2020
- September 2020
- June 2020
- May 2020
- April 2020
- March 2020
- January 2020
- December 2019
- November 2019
- October 2019
- September 2019
- August 2019
- June 2019
- May 2019
- April 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- July 2018
- June 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- September 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- March 2016
- April 2015
- May 2014
- September 2013
- July 2013
- May 2013
- April 2013
- February 2013
- December 2012
- September 2012
- May 2012
- April 2012
- January 2012
- December 2011
- November 2011