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

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

Re: [avr-gcc-list] Best practice for external variable (newbie-ish quest


From: Matthew Smith
Subject: Re: [avr-gcc-list] Best practice for external variable (newbie-ish question)
Date: Tue, 22 Nov 2005 17:15:26 +1030
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

Joerg Wunsch wrote:
> #define F_CPU 1000000UL
> #include <avr/delay.h>  /* 1) */
> ...
>         _delay_us(100);
> 
> 1) For avr-libc 1.4.0, you can "upgrade" to <util/delay.h>.

Cool!  Pity I won't have that for my HC08 and 8051 work (I use SDCC for
that - no gcc support :( )

Time I updated my avr-libc.

Cheers

M

-- 
Matthew Smith
Kadina Business Consultancy, South Australia
Work: <http://www.kbc.net.au> Personal: <http://www.mss.cx>




reply via email to

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