Getting started with Arduino

My Arduino kit finally came today, and I’ve played with it a few hours so far. For someone not very comfortable with the hardware side of things, I found it remarkably easy getting basic functionality working on it.

With the help of some very useful tutorials, I was able to create a simple tool: a photocell+LED setup that lights up the LED whenever the room goes dark, and switches itself off when the room brightens.

Here’s what it looks like:


And here is the code to make it happen.