Blinky blinky

So for exercise 4, I used a couple of tact switches that I had already plugged into the the breadboard, a messy array of wires, 2 LEDs, a bunch of resistors and a Light Dependant Resistor (LDR). (There are a whole bunch of other random components attached to the board that do absolutely nothing).

The code is a single file, but you can swap out the various parts in loop().

Arduino Sketch: MTI_EX_4

Videos go here:

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: