# External Pin Change Interrupt not working Instantly

**URL:** <https://forum.arduino.cc/t/external-pin-change-interrupt-not-working-instantly/895851>\
**Category:** Programming\
**Created:** [August 15, 2021, 4:46pm UTC](https://forum.arduino.cc/t/external-pin-change-interrupt-not-working-instantly/895851 "2021-08-15T16:46:47Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![groundFungus](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@groundFungus](https://forum.arduino.cc/u/groundFungus)\
**Post date:** [August 15, 2021, 5:46pm UTC](https://forum.arduino.cc/t/external-pin-change-interrupt-not-working-instantly/895851/3 "2021-08-15T17:46:28Z")

</div>

What you are doing would require no interrupts if you get rid of all delay() calls. If you use millis() for timing the loop() function would run often enough that polling the inputs would be plenty fast. [Here is the using millis() for beginners tutorial.](https://forum.arduino.cc/t/using-millis-for-timing-a-beginners-guide/483573)

[**Read the forum guidelines**](https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum/679966) to see how to properly post code.  
**Use the IDE autoformat tool** (ctrl-t or Tools, Auto format) before posting code in code tags.'

---

_[View the full topic](https://forum.arduino.cc/t/external-pin-change-interrupt-not-working-instantly/895851)._
