Saturday, 14 July 2012

code for interfacing led with atmega16


#include<avr/io.h>
void main()
{
DDRA=0xFF;
while(1)
{
PORTA=~PORTA;
}
}

No comments: