[Top][All Lists]
[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: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] Best practice for external variable (newbie-ish question) |
Date: |
Tue, 22 Nov 2005 07:09:04 +0100 (MET) |
Matthew Smith <address@hidden> wrote:
> Became this:
> smalldly(); // Don't rush the ADC ;-)
> smalldly(); // Don't rush the ADC ;-)
> smalldly(); // Don't rush the ADC ;-)
> smalldly(); // Don't rush the ADC ;-)
> smalldly(); // Don't rush the ADC ;-)
> smalldly(); // Don't rush the ADC ;-)
> smalldly(); // Don't rush the ADC ;-)
> smalldly(); // Don't rush the ADC ;-)
#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>.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
- [avr-gcc-list] Best practice for external variable (newbie-ish question), Matthew Smith, 2005/11/19
- Re: [avr-gcc-list] Best practice for external variable (newbie-ish question), Russell Shaw, 2005/11/19
- Re: [avr-gcc-list] Best practice for external variable (newbie-ish question), Russell Shaw, 2005/11/19
- Re: [avr-gcc-list] Best practice for external variable (newbie-ish question), Joerg Wunsch, 2005/11/20
- Re: [avr-gcc-list] Best practice for external variable (newbie-ish question), David Kelly, 2005/11/20
- Re: [avr-gcc-list] Best practice for external variable (newbie-ish question), Matthew Smith, 2005/11/20
- Re: [avr-gcc-list] Best practice for external variable (newbie-ish question), David Kelly, 2005/11/20
- Re: [avr-gcc-list] Best practice for external variable (newbie-ish question), Matthew Smith, 2005/11/20
- Re: [avr-gcc-list] Best practice for external variable (newbie-ish question), Matthew Smith, 2005/11/21
- Re: [avr-gcc-list] Best practice for external variable (newbie-ish question),
Joerg Wunsch <=
- Re: [avr-gcc-list] Best practice for external variable (newbie-ish question), Matthew Smith, 2005/11/22
- Re: [avr-gcc-list] Best practice for external variable (newbie-ish question), Joerg Wunsch, 2005/11/22
- Re: [avr-gcc-list] Best practice for external variable (newbie-ish question), Russell Shaw, 2005/11/20