At 05:27 AM 14/03/2010, you wrote: > From the data book: >/* Wait for empty transmit buffer */ >while ( !( UCSRnA & (1<<UDREn)) ) > >This has never worked for me, What do you mean? Never compiled or you have problem in transmitting? If the 1st case then have you replaced the n with a number for the USART used like 0, 1, 2 or 3? Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA Tel. (02) 9674-6495 Fax (02) 9674-8745 Website http://www.ampertronics.com.au *Electronic Design * Custom Products * Contract Assembly ********************************************************
Message
Re: [AVR-Chat] Re: Code stuck waiting for SPI transmission but only after power-up
2010-03-13 by John Samperi