This is a simple demonstration of a tip shared in the Arduino Tips and Tricks email newsletter.
On the Arduino Uno, there are 6 analog pins. While we’d normally use AnalogRead to read A/D values and
AnalogWrite to write PWM, they can also be used as GPIO digital pins.
As always, all notes, schematics and code are in the Little Electronics & Arduino Projects repo on GitHub