From: hackbard Date: Thu, 18 Jan 2007 01:00:24 +0000 (+0000) Subject: 2 bytes rlated to voltage drop on ain0 ... X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=941247b617405b754b0ebe2c63dc53a93b802069;p=my-code%2Fatmel.git 2 bytes rlated to voltage drop on ain0 ... --- 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<