Getting an ATmega to light up some LEDs

Pete made an in depth tutorial on how to get started with ATmega microcontrollers. He covers how to read the datasheets and use them to write your firmware. Also covered are the initial stages of creating and programing a simple “blink LED” program in AVRstudio 5.1.

In this Part 1 post, I’ll show how to interface with ATmega ports and pins to light up LEDs on a board. The follow-up post will show how to use the timer to actually blink the LED.

Leave a comment

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.