X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=thermo%2Fthermo.asm;h=17c20d7a47714ce1445a948d8c80a968c7eadff9;hb=941247b617405b754b0ebe2c63dc53a93b802069;hp=a66a491436c5917c3b5280f648766942bb9819c7;hpb=88c493e6fa217e36649fc9236d3cb5d3cd6dc989;p=my-code%2Fatmel.git diff --git a/thermo/thermo.asm b/thermo/thermo.asm index a66a491..17c20d7 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,75 @@ 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<