These are my first attempts at building a physical computer.
How I solved it
My approach
I modified/created three different projects, Twinkle Twinkle Little Star, adjusting the speed of a flashing LED light using a potentiometer, and adjusting a tone with a potentiometer.
Arduino Playing Twinkle Twinkle Little Star
Code
This project uses code from Arduino.cc’s Melody Tutorial, but a piezo speaker is attached directly to the Arduino (at GND and Input 11).
This project code from the Arduino.cc Potentiometer Tutorial but a potentiometer is attached to a small breadboard. An LED light is placed directly onto GND and 13.
This project uses Ramp Music’s Guide code but attaches the potentiometer to a small breadboard, adds a speaker directly onto the Arduino, and removes the button.