> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]]
>  On Behalf Of Weddington, Eric
> Sent: Wednesday, July 22, 2009 4:01 PM
> To: Daniel Otte; [email protected]
> Subject: RE: [avr-chat] SFRs in assembly code
> 
>  
> > #define UBRR_VALUE ((((F_CPU) + (8UL * (BAUD))) /(16UL * 
> > (BAUD))) -1UL)
> 
> First off, where is this definition of UBRR_VALUE coming 
> from? Somehow -1 and UL should not go together (an *unsigned* 
> long -1??).

Bah, nevermind! I mistook it for a negative of 1, and instead it's a 
subtraction of 1.

Off to go get more caffeine.... :-/


_______________________________________________
AVR-chat mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to