1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include <avr/io.h> #include <util/delay.h> int main(void){ DDRC = 0x01; while(1){ PORTC = 0x01; _delay_ms(200); PORTC = 0x00; _delay_ms(200); } return 0; }