X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Fatmel.git;a=blobdiff_plain;f=thermo%2Fthermo.asm;h=37945465022746cb9cfc356a8ea0dfe58eebbf47;hp=a66a491436c5917c3b5280f648766942bb9819c7;hb=526d5b3d4f0d6356baec290a9e9ce1fb945ebe6a;hpb=88c493e6fa217e36649fc9236d3cb5d3cd6dc989 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<