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> _______________________________________________ AVR-GCC-list mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
