Carly’s Analog Input, Arduino Lesson 3

This week has been my favorite Arduino exercise for a few reasons:

  1. I didn’t need to ask anyone for help! (Using this post to give myself a digital pat on the back)
  2. Unlike the Arduino code for “Fade”, the Potentiometer gives you more power to control the brightness of the LED by physically rotating the wheel to change the value of the input

The scenario in action:

As the LED is dimmed, the input value is lowered, and as the LED increases brightness, the value input raises in value.

 

Discover more from Making Studio

Subscribe now to keep reading and get access to the full archive.

Continue reading