foo
authorhackbard <hackbard>
Mon, 8 Dec 2003 16:22:27 +0000 (16:22 +0000)
committerhackbard <hackbard>
Mon, 8 Dec 2003 16:22:27 +0000 (16:22 +0000)
beginners/test_int.asm

index 904a352..91fb4b3 100644 (file)
@@ -66,6 +66,9 @@ ldi r16, 11 ; "38400 bps wert" in r16
 out UBRR, r16 ; write to uart baudrate register
 sbi UCR, (RXEN|TXEN|RXCIE) ; enable tx at uart control register
 
+ldi r16, 0x7C
+out DDRD, r16
+
 sei
 
 MAIN: