diff --git a/src/togglePin.c b/src/togglePin.c index 02a50f3..58ecb4b 100644 --- a/src/togglePin.c +++ b/src/togglePin.c @@ -4,14 +4,13 @@ int main() { - DDRF |= 1 << PF7; - + DDRB |= 1 << PB2; while (1) { - PORTF &= ~(1 << PF7); - _delay_ms(1000); - PORTF |= 1 << PF7; - _delay_ms(1000); + PORTB &= ~(1 << PB2); + _delay_ms(10); + PORTB |= 1 << PB2; + _delay_ms(10); } return 0;