From: hackbard Date: Mon, 15 Jan 2007 23:32:17 +0000 (+0000) Subject: somehow t1_overflow is not executed properly ... X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=526d5b3d4f0d6356baec290a9e9ce1fb945ebe6a;p=my-code%2Fatmel.git somehow t1_overflow is not executed properly ... --- diff --git a/thermo/thermo.asm b/thermo/thermo.asm index a66a491..3794546 100644 --- a/thermo/thermo.asm +++ b/thermo/thermo.asm @@ -21,13 +21,13 @@ reti reti ; T1 CAPT1 -rjmp T1_CAPTURE +reti ; T1 COMP A reti ; T1 OVF1 -reti +rjmp T1_OVERFLOW ; T0 OVF0 reti @@ -42,7 +42,7 @@ reti reti ; ANA COMP -reti +rjmp ANA_COMP ; PCINT reti @@ -85,60 +85,147 @@ INIT: ; uart init UART_INIT: - ldi r16,51 ; 9600 bps @ 8mhz + ldi r16,51 ; 9k6 bps @ 8mhz out UBRRL, r16 out UBRRH, r0 - ldi r16,(1<