21 lines
180 B
C
21 lines
180 B
C
|
#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;
|
||
|
}
|
||
|
|