Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: comms problem

2008-04-08 by Brian

>  My UBRR is set at 10 to get good comms. I am using 16 as
> >  a divisor, the date sheet says to use 12 as UBRR for 2Mhz.
> 
> Which base are all those numbers in?
> 0x10 <> 10 <> 00000010b
>
Sorry I didnt mention. it is in hex.

	ldi r16, 0x10					;Set baud rate
	ldi r17, 0x00					;2.45M xtl 9600 
baud
	out UBRRH, r17					;
	out UBRRL, r16					;

This works on my computer at home and at work.

Brian

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.