The Code

Since designing it was pretty simple, writing the code was also fairly straightforward. 

Screenshot_2025-11-25_08-11-39.png

I used digital pin 9 for the LED control and the A0 for the potentiometer control. 

Another cool use for this is a piezo, because it makes all the different notes, like a tuner.


Revision #1
Created 2025-11-25 14:10:34 UTC by Owen
Updated 2025-11-25 14:14:16 UTC by Owen