#define F_CPU 5000000UL // 5 MHz #include #include int main(void) { // Configure PA3 as output (Pin 7 on ATTINY202-SSN) VPORTA.DIR |= (1 << 3); while (1) { VPORTA.OUT ^= (1 << 3); // toggle PA3 _delay_ms(500); } }