[En-Nut-Discussion] UART1

Sigurd Kleppan sigurd at wlink.no
Wed Jan 19 20:19:05 CET 2005


I want to use both UARTS in my project.

Why won't this work to send data throught the UART1?

UBRR1L = 47; 
UCSR1B = BV(RXCIE) | BV(RXEN) | BV(TXEN); 

UDR1=52;
while(!(UCSR1A & (1<<TXC1)));

}


Thank you for all help!

Regards
Sigurd Kleppan









More information about the En-Nut-Discussion mailing list