© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
N. DunbarArduino InterruptsMaker Innovations Serieshttps://doi.org/10.1007/978-1-4842-9714-8_4

4. Pin Change Interrupts

Norman Dunbar1  
(1)
Rawdon, West Yorkshire, UK
 

Abstract

Pin Change interrupts are another example of the external interrupts discussed in the previous chapter. This time, instead of having only two special pins to use, we have 20 pins to play with. Unfortunately, instead of having two dedicated interrupts like INT0 and INT1, we have to share the interrupts between three different handlers. This requires a bit of thought in determining which of the covered pins triggered the interrupt – this chapter explains all.

Pin Change interrupts are ...

Get Arduino Interrupts: Harness the Power of Interrupts in Your Arduino and ATmega328 Code now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.