LED blink program

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Can someone show me some code to make an LED connected on PD4 blink? I need to verify that my ATMEGA168 and wiring work.

Thanks.

IDE - Eclipse w/AVR Eclipse plugin
Programmer - AVRISP MKII
OS - Ubuntu (Intrepid) Linux

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

That'd be quick to write for someone to write, but rather than duplicating code that has been written thousands of times, would you try a site search and see if you can find a prewritten example? If you can't find one, I'm sure someone can find a prewritten example for you.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I apologize... Fortunately, the magic of search led me to what I needed. Guess I just needed a slap to help me calm down from my frustration ;)

IDE - Eclipse w/AVR Eclipse plugin
Programmer - AVRISP MKII
OS - Ubuntu (Intrepid) Linux

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Glad you found an example, javafiend. There's a wealth of information on this site. If a search doesn't answer your question, you can almost always find someone here willing to help you move in the right direction.