#include <avr/io.h>
#include <util/delay.h>
int main (void){
DDRA=0xff;
PORTA=0xff;
unsigned char x = 0;
while (1){
x++;
PORTA = x & (0xff);
_delay_ms(500);
}
}
#include <avr/io.h>
#include <util/delay.h>
int main (void){
DDRA=0xff;
PORTA=0xff;
unsigned char x = 0;
while (1){
x++;
PORTA = x & (0xff);
_delay_ms(500);
}
}