|
From: | Curtis Maloney |
Subject: | Re: [avr-chat] undefined reference to delay_ms |
Date: | Mon, 22 Aug 2005 13:44:46 +1000 |
User-agent: | Debian Thunderbird 1.0.6 (X11/20050802) |
Keith Scott wrote:
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?
in the AVR headers it's _delay_ms() ... note the leading underscore. Caught myself on this one recently :) Also beware of the maximum timeout - 262.14ms / Freq(in MHz) -- Curtis Maloney address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |