Assignment 4 – Analog I/O
Nothing too exciting about this assignment submission. I used my microphone from Assignment 3 as my analog input device for Part 4.
For this assignment, I wrote the code such that once you click the button enough times that the light is pulsing to its brightest, further button clicks will cause the light pulsing to *decrease* in amplitude until the light is turned off (and this cycle can be repeated.) This is as opposed to having the button simply stop reacting or start back over at the beginning state (an off light).
Arduino Sketch: SolomonBisker_Assignment4