On Mon, 7 Dec 2009, Marc R.J. Brevoort wrote: >> Reading the special sub-section of the mega8 datasheet >> USART section entitled "Accessing UBRRH/UCSRC Registers" >> reveals what you need to do: >> >> UCSRC = (1<<URSEL) | flags; >> >> Without the URSEL bit, you'd actually be writing to >> the UBBRH register rather than the UCSRC register as desired. > > Thanks Don, I'll give that a try. Works like a charm! Thanks again, Marc
Message
Re: [AVR-Chat] Re: avr-gcc ATMega8 USART trouble, was: Compile problem
2009-12-08 by Marc R.J. Brevoort