How to setup an Arduino board with LEDs - Blink Morse Code
Got my hands on my first Arduino project this weekend. My friend was nice enough to lend me an Arduino Duemilanove board with a couple starter supplies.
I did a little enhancement on the basic turn an LED on/off by giving it a string of char representing morse code and making it blink to that.
Here is the board setup:

How to setup the board:
- Plug a wire from Pin 5 to the breadboard (red wire in pic above)
- Continue the circuit by pluggin in a resistor from where Pin 5 connects on the breadboard to the where you wish to insert the LED
- Connect the side of the LED that DOES NOT have the flat edge to the resistor on the breadboard
- Plug the flat end on the LED in any row on the breadboard that is not where the other wires are connected
- Connect a wire from where the flat end of the LED is connected to the Pin labeled “Gnd” (a.k.a. Ground on your Ardunio board) (white wire in pic above)
Here is code to compile and upload to your Ardunio. The morse code is represented by dots and underscores. Read the comments in the code to get a clear understanding of what is going on:
Not the most elegant, but I am a beginner so far. You should now see the LED blink whatever Morse code you write with periods and underscores. Have fun.
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

