Pardon Me for Interrupting (Part Deux)

You've conquered timer interrupts in Pardon Me, part 1. Now, keep that timer synced to an external source with pin change interrupts.

Mar 11, 2021

646 views

0 respects

Components and supplies

1

Arduino UNO

1

LED (generic)

1

Pushbutton Switch, Momentary

1

Resistor 1k ohm

Tools and machines

1

ATmega328P data sheet

Project description

Code

Sync'd LEDs using timer and pin change interrupts.

arduino

A demonstration sketch for setting up interrupts on the ATmega328.

Downloadable files

External LED

How to attach the external LED.

External LED

Image

Self-Triggering Sync

Attaching output to input.

Self-Triggering Sync

Image

LED and Switch

Adding a momentary push-button switch.

LED and Switch

Image

Self-Triggering Sync

Attaching output to input.

Self-Triggering Sync

Image

External LED

How to attach the external LED.

External LED

Image

LED and Switch

Adding a momentary push-button switch.

LED and Switch

Image

Comments

Only logged in users can leave comments

dhorton668

0 Followers

0 Projects

0