From 25e923311c5507682436a60f5725d92e948ea8a3 Mon Sep 17 00:00:00 2001 From: bigalex Date: Thu, 20 Sep 2012 21:20:51 +0200 Subject: [PATCH] prepared some code for different modes --- fw_test/main.c | 70 ++++++++++++++++++++++++++------------------------ 1 file changed, 37 insertions(+), 33 deletions(-) diff --git a/fw_test/main.c b/fw_test/main.c index 4bbcd71..ef81292 100644 --- a/fw_test/main.c +++ b/fw_test/main.c @@ -17,17 +17,7 @@ void init_leds(void){ DDRC |= (1 << PORTC0) | (1 << PORTC1) | (1 << PORTC2) | (1 << PORTC3); // both LEDs off PORTC &= ~((1 << PORTC0) | (1 << PORTC1) | (1 << PORTC2) | (1 << PORTC3)); - - - //TCCR2A = (1 << WGM21); - //TCCR2B = (1 << CS20)|(1 << CS21); - //OCR2A = 255; /* TOP */ - // TCNT2 = 0; - // /*enable interrupt*/ - // TIMSK2 |= (1<