Xmas Tree


i tried two versions for 4-3: one is to recognize 0 to 1 transition of the switch and respond with certain amount of pusling brightness increasement, and the other is to recognize the 1 state of the switch, thus the LED will keep becoming brighter as long as the switch is being pressed. i ended up going with the second version because i had trouble resetting the first one, and the outcomes of both versions aren’t perceivably different.

Arduino Sketch: Wu_4-1
Arduino Sketch: Wu_4-2
Arduino Sketch: Wu_4-3-2
Arduino Sketch: Wu_4-4


Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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: