inital dump

This commit is contained in:
2025-08-20 11:38:15 +02:00
parent 96ab94ed5c
commit 141a748d65
4 changed files with 136 additions and 1 deletions

14
main.c Normal file
View File

@ -0,0 +1,14 @@
#define F_CPU 5000000UL // 5 MHz
#include <avr/io.h>
#include <util/delay.h>
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);
}
}