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.


Define the variables, and int the values.


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


Leave a Reply

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