On Mon, Mar 9, 2009 at 5:38 PM, John Samperi <samperi@ampertronics.com.au> wrote: > At 07:59 AM 10/03/2009, you wrote: >>#define UBRRVAL (((F_CPU/(USART_BAUDRATE*4UL)))) // using the double baud flag > >>May want to try *8UL instead of *4UL for double speed. (usually *16) > > I know you would NEVER have overlooked that in ASM. ;-) The problem is that the equation I quoted IS giving me the right baud. I don't know why..
Message
Re: [AVR-Chat] Xtal and Baud Rate
2009-03-09 by David VanHorn