If you are interested in getting started with the Arduino then I can recommend the Arduino Cookbook from O’Reilly. It takes you from the basics of setting up the programming environment right up to complete sketches. The book covers many areas including controlling LEDs, motors, and using sensors. Much of this information is available on the internet for free but it is nice to have it all compiled in to one location.
I found some seven segment displays and decided to connect one of them to the Arduino. This was easily done by tracing the pins using a multi-meter and then placing a 220 ohm resistor to ground. A very simple piece of code then counts from one to three. You can see from the code that it is simply setting pins high or low. Continue reading