|
From: | Bernard Fouché |
Subject: | Re: [avr-gcc-list] light up and led |
Date: | Thu, 06 Oct 2005 09:34:24 +0200 |
User-agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
Timothy Smith wrote:
i want the following code to light the led connected to porta pin0, it should work?
I don't think so. Try: main() { DDRA|= 1<<PA0; PORTA|=1<<PA0; } Bernard
[Prev in Thread] | Current Thread | [Next in Thread] |