[Arduino Diary #4] More with LEDs.

2014-09-12 14.52.12

8 LEDs and a shift register seemed pretty easy to do but it wasn’t the most pleasant thing to do. There are few meaningful lessons I learned today:

1. Be careful which resistor you’re using.

2. Be careful that the metal part of resistors, wires are not touching each other.(avoid short circuit)

Codes for today

RGB LED fade, Two buttons with LED, 8 LEDs

I’m very confused with board layout.

Screen Shot 2014-09-12 at 10.15.40 PM Screen Shot 2014-09-12 at 10.15.52 PM Screen Shot 2014-09-12 at 10.16.37 PM

Only the bottom one is connected to the power input(5V). I’ve googled stuff but I don’t get why sometimes it should be connected to the power input and sometimes you don’t need to. Gotta ask it to the assistants on Tuesday.

Arduino Uno Board Layout is useful.

Screen Shot 2014-09-12 at 9.58.53 PM

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

%d bloggers like this: