Actions

AVR Lesson: Output Pins I: Difference between revisions

From HacDC Wiki

(New page: == Goals == In this lesson, you'll program the micro-controller version of "hello world", letting you fire up your programmer, compiler, chip, LED, and test them all out. You'll learn h...)
 
Line 1: Line 1:
== Goals ==
== Goals ==


Line 21: Line 20:


Is the LED in the correct polarity? (Positive to pin PB4, negative to GND).
Is the LED in the correct polarity? (Positive to pin PB4, negative to GND).
Back to [[AVR Tutorial]]

Revision as of 22:26, 28 May 2008

Goals

In this lesson, you'll program the micro-controller version of "hello world", letting you fire up your programmer, compiler, chip, LED, and test them all out. You'll learn how to setup and use pins for output, and along the way get some exposure to AVR-specific coding practice.


The Circuit

The Code

Trouble?

Programmer woes:

Is the LED in the correct polarity? (Positive to pin PB4, negative to GND).



Back to AVR Tutorial