[Top][All Lists]
[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;