summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/main.c b/main.c
deleted file mode 100644
index aed9465..0000000
--- a/main.c
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <avr/io.h>
-#include <avr/interrupt.h>
-
-int main(void)
-{
- DDRB |= (1 << DDB5);
-
- TCCR1A = 0;
- TCNT1 = 65535 - (F_CPU / 1024);
- TCCR1B = (1 << CS10) | (1 << CS12);
- TIMSK1 = (1 << TOIE1);
-
- sei();
-
- for (;;)
- ;
-
- return 0;
-}
-
-ISR(TIMER1_OVF_vect)
-{
- PORTB ^= (1 << 5);
- TCNT1 = 65535 - (F_CPU / 1024);
-}