Physical Computing

Class 3: Make a LED brightness fade

During the class, we learned some basic arduino language. I decide to explore a little more about the brightness of the LED.

Connecting the analog was easy, but it did took me a while to code on Arduino.

Connect the circuit.

img_5046

Define the variables, and int the values.

img_5047

here is the video of how it fades and shine again!

Video

Leave a Reply

Your email address will not be published. Required fields are marked *