From eebe3c27cf3c6885e3f2e7f35780a1c18c4eff83 Mon Sep 17 00:00:00 2001 From: bigalex Date: Mon, 27 Aug 2012 09:17:56 +0200 Subject: [PATCH] replaced mounting holes with big vias --- firmware/main.c | 171 ++++++++++++------------------------------ hardware/pentabug.brd | 71 +++++++++--------- 2 files changed, 83 insertions(+), 159 deletions(-) diff --git a/firmware/main.c b/firmware/main.c index 74d57b2..2983152 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -5,8 +5,7 @@ #include #include "main.h" -#include "synth.h" -#include "usart.h" + uint16_t sw_v = 0; @@ -15,110 +14,64 @@ uint16_t darkval = 0; uint16_t last_darkval = 0; -static void init_sampletimer(void) -{ - /* - * Timer 0 - */ - - /* set timer0 to CTC & prescaler 64 → 125kHz increment */ - TCCR0A = (1 << WGM01); - TCCR0B = (1 << CS00) | (1 << CS01); - - OCR0A = 6; /* TOP */ - TCNT0 = 0; - /*enable interrupt*/ - TIMSK0 |= (1< - + @@ -26,17 +26,17 @@ - + - + - + @@ -121,16 +121,6 @@ - - - - - - - - - - 1 GND @@ -805,11 +795,11 @@ design rules under a new name. - + - + @@ -985,9 +975,7 @@ design rules under a new name. - - @@ -1019,8 +1007,21 @@ design rules under a new name. - - + + + + + + + + + + + + + + + @@ -1249,41 +1250,43 @@ design rules under a new name. - + - + - + - + + + - - - + - - - - - + - + + + + + + - + +