blob: 2107a5d078b8d4d8e10a90041f1dcc907cb17ded (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include <avr/io.h>
#include <util/delay.h>
#include <stdbool.h>
int main() {
DDRB = 0xFF;
PORTB = 0;
while(true) {
_delay_ms(1000);
PORTB ^= 0x20;
}
return 0;
}
|