top of page

Interrupt in Arduino without Library

In this project, I will make External Falling interrupt in Arduino UNO without a Library function.



Boards and Digital PINs Usable for Interrupts


Uno, Nano, Mini, other 328-based - PIN 2, 3

Uno WiFi Rev.2, Nano - Every all digital pins

Mega, Mega2560, MegaADK - PIN 2, 3, 18, 19, 20, 21


Circuit



Summary


Interrupts in Arduino is a hidden feature,

1. In this project, I used PIN 2 (D2) as an interrupt PIN

2. The type of Interrupt used here is Falling Interrupt

3. You can get the code from here

4. After uploading the code to board, when the button is pressed an interrupt occurs when glows the in-built LED


That's it for now..

26 views0 comments

Recent Posts

See All

Comments


bottom of page