|
From: | Timothy Smith |
Subject: | [avr-gcc-list] light up and led |
Date: | Thu, 06 Oct 2005 17:03:12 +1000 |
User-agent: | Mozilla Thunderbird 1.0.7 (X11/20051002) |
#include <avr/io.h> int main(void){ DDRA |= 1<<PA0;while (1) {
PORTA &= !(1<<PA0);};
}i want the following code to light the led connected to porta pin0, it should work?
[Prev in Thread] | Current Thread | [Next in Thread] |