X-Git-Url: https://www.hackdaworld.org/gitweb/?a=blobdiff_plain;f=thermo%2Fthermo.asm;h=17c20d7a47714ce1445a948d8c80a968c7eadff9;hb=941247b617405b754b0ebe2c63dc53a93b802069;hp=37945465022746cb9cfc356a8ea0dfe58eebbf47;hpb=526d5b3d4f0d6356baec290a9e9ce1fb945ebe6a;p=my-code%2Fatmel.git diff --git a/thermo/thermo.asm b/thermo/thermo.asm index 3794546..17c20d7 100644 --- a/thermo/thermo.asm +++ b/thermo/thermo.asm @@ -116,18 +116,13 @@ INIT: MAIN: - ; print 'S'tart symbol via uart - ldi r17,0x53 - sbis UCSRA,UDRE - rjmp MAIN - out UDR,r17 + ; status register + ldi r31,0 ; decharge rc pin cbi PORTD,PORTD2 - ; reset timer counter 1 and enable overflow interrupt - out TCNT1H,r0 - out TCNT1L,r0 + ; enable overflow interrupt ldi r17,(1<