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

YouTube Video:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: