avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Serial Communication


From: E. Weddington
Subject: Re: [avr-gcc-list] Serial Communication
Date: Thu, 29 Jan 2004 09:26:24 -0700

On 28 Jan 2004 at 17:24, Jamie Morken wrote:

> Hi,
> 
> This is the way to do it in avr-gcc:
> 
> SIGNAL(SIG_UART_RECV)
> {
>     //Store the received character
>  data = inp(UDR);
> 
> }

One nit:

inp is deprecated and should no longer be used. Just simply do:

data = UDR;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]