From: hackbard Date: Mon, 8 Dec 2003 16:20:47 +0000 (+0000) Subject: anded echo :) X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=e9e90c0e0e5bb001a0afb0666dbabc1a8a1c6f23;p=my-code%2Fatmel.git anded echo :) --- diff --git a/beginners/test_int.asm b/beginners/test_int.asm index bae423e..904a352 100644 --- a/beginners/test_int.asm +++ b/beginners/test_int.asm @@ -53,6 +53,7 @@ nop UART_RX: in r16, UDR andi r16, $7C +out UDR, r16 out DDRD, r16 reti @@ -63,7 +64,7 @@ out SPL, r16 ; baudrate einstellen ldi r16, 11 ; "38400 bps wert" in r16 out UBRR, r16 ; write to uart baudrate register -sbi UCR, (RXEN|RXCIE) ; enable tx at uart control register +sbi UCR, (RXEN|TXEN|RXCIE) ; enable tx at uart control register sei