blob: ab66db4831f1c2cfd1505554e000b38744ab1271 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#define F_CPU 16000000
#include <avr/io.h>
#include <util/delay.h>
int main() {
DDRC |= (1 << DDC7);
while(1) {
PORTC |= (1 << PORTC7);
_delay_ms(500);
PORTC &= ~(1 << PORTC7);
_delay_ms(500);
}
}
|