15 lines
188 B
C
15 lines
188 B
C
|
#include <avr/io.h>
|
||
|
#include <util/delay.h>
|
||
|
|
||
|
int main(void) {
|
||
|
DDRD = 255;
|
||
|
|
||
|
while (1) {
|
||
|
PORTD = 0b00001000;
|
||
|
_delay_ms(100);
|
||
|
PORTD = 0;
|
||
|
_delay_ms(100);
|
||
|
}
|
||
|
return 0;
|
||
|
}
|