diff --git a/src/togglePin.c b/src/togglePin.c index 77e9a0e..02a50f3 100644 --- a/src/togglePin.c +++ b/src/togglePin.c @@ -1,9 +1,18 @@ #include -#include -#include +#include + int main() { + DDRF |= 1 << PF7; + + + while (1) { + PORTF &= ~(1 << PF7); + _delay_ms(1000); + PORTF |= 1 << PF7; + _delay_ms(1000); + } return 0; }