delay() function not working

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
tanders12
 
Posts: 2
Joined: Fri Apr 15, 2011 2:27 am

delay() function not working

Post by tanders12 »

Hi,

I'm new to Arduino and electronics in general, but I have experience in programming. I've got a brand new Uno. I loaded up the Blink example, but the LED just stays lit. However the BlinkNoDelay sketch works fine. Upon further experimentation I've determined that the delay function doesn't appear to be doing anything. I even tried inserting it into the BlinkNoDelay sketch with no effect. Any ideas?

User avatar
westfw
 
Posts: 2008
Joined: Fri Apr 27, 2007 1:01 pm

Re: delay() function not working

Post by westfw »

Are you using linux? There was a bug in one of the gcc installs for several of the linux variants.
http://arduino.cc/forum/index.php/topic,49900.15.html

User avatar
tanders12
 
Posts: 2
Joined: Fri Apr 15, 2011 2:27 am

Re: delay() function not working

Post by tanders12 »

Yep, same problem. I was just about to post that I had found the answer over on the arduino.cc forums, but thanks for your reply!

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”