Change pin and delay of the toggle.

This commit is contained in:
Marco Groß 2021-12-05 00:24:16 +01:00
parent 35e57060c6
commit f2d128bfcd

View File

@ -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;