# \[SOLVED\] Arduino NANO and interrupt on pin 6?

**URL:** <https://forum.arduino.cc/t/solved-arduino-nano-and-interrupt-on-pin-6/1090623>\
**Category:** Programming\
**Created:** [February 15, 2023, 4:03pm UTC](https://forum.arduino.cc/t/solved-arduino-nano-and-interrupt-on-pin-6/1090623 "2023-02-15T16:03:06Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![b707](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/b707/32/854321_2.png) [@b707](https://forum.arduino.cc/u/b707)\
**Post date:** [February 15, 2023, 4:13pm UTC](https://forum.arduino.cc/t/solved-arduino-nano-and-interrupt-on-pin-6/1090623/3 "2023-02-15T16:13:10Z")

</div>

> [@edr1924](#):
>
> The Arduino Uno and Nano have only 2 interrupt pins, but in the code below, **an interrupt is connected to another digital pin?!** To me this is not possible but what happens if this is in the code? It cannot work, true??

Why not?  
Arduino Uno/Nano has two external interrupts on pins 2 & 3 - it's true.  
But it's true too that the controller has an interrupts of another type - PCINT - available on all GPIOs.

Google "Arduino PCINT interrupts", for example:  
[https://www.best-microcontroller-projects.com/arduino-interrupt.html](https://www.best-microcontroller-projects.com/arduino-interrupt.html)

---

_[View the full topic](https://forum.arduino.cc/t/solved-arduino-nano-and-interrupt-on-pin-6/1090623)._
