[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-chat] undefined reference to delay_ms
From: |
Keith Scott |
Subject: |
[avr-chat] undefined reference to delay_ms |
Date: |
Sun, 21 Aug 2005 20:28:58 -0700 (PDT) |
I've been attempting to use delay's in some basic
intro code. I have not found anything in the archives
regarding this issue. I've included delay.h and still
any reference to delay does not seem to work. What am
I doing wrong?
#define F_CPU 3686400UL
/*snip */
#include <string.h>
#include <avr/io.h>
#include <avr/delay.h>
/*snip........blah blah blah..... */
delay_ms(500);
My code works just fine w/ my own delay but I don't
want to use that every time. I would rather use the
delay in included w/ avr-libc.
Binutils-2.15
avr-libc-1.2.3 /*didn't see anything on NEWS.txt that
would effect this issue */
gcc-3.4.3
Keith
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
- [avr-chat] undefined reference to delay_ms,
Keith Scott <=