I just started with Arduino, so probably I'm doing something wrong....I installed the arduino software on my (Arch) Linux PC. When I connected my Arduino Duemilanove for the first time to a USB-port, the "L" led started flashing. So it worked.After that I compiled the sketch under file -> examples -> 1.basics -> Blink and tried to upload this to the Arduino. After a short flashing of the TX and RX leds the L led goes on, and stays on.If i change the order like this:

void loop() { digitalWrite(13, LOW); // set the LED on delay(1000); // wait for a second digitalWrite(13, HIGH); // set the LED off delay(1000); // wait for a second}and compile and upload, the L led stays off.Holding the Shift key during the upload gives the following output:

System wide configuration file is "/usr/share/arduino/hardware/tools/avrdude.conf" User configuration file is "/home/ko/.avrduderc" User configuration file does not exist or is not a regular file, skipping

I seem to remember a bug in a version of avr-binutils causing the delay function not to work correctly. You can check the version by executing the command "avr-as --version". I version I use on my machine is "GNU assembler (GNU Binutils) 2.20.1.20100303"

I have a similar case (using UBUNTU 10.10)You need to install arduino via synaptics and then update that version since the synaptics install version 0018Then to update to the last version of arduino use this tuturial http://www.arduino.cc/playground/Linux/UbuntuIt should be similar of your distro

I can confirm that my Duemilanove works in Windows XP. I can upload the 'Blink' sketch there, make it work, change, upload again etc. So there's obviously something wrong with the installation in Linux. There don't seem to be very many Arch-Linux users working with Arduino.I'll have a look at your suggestions.

I am not a Duemilanove expert, as I don't have one, nor am I using Arch Linux. So anything I may say here will be guesswork. Probably someone else can offer better advice.

What I would do first is try to find a Mac or Windows PC, and upload the sketch with that. This eliminates problems with the board, its interrupts, and the bootloader.

If that fixes it then it would seem that the "core library" uploaded alongside your sketch is not handling delays properly.

As far as I can see, delay is implemented by looping waiting for micros () to return a value indicating the delay time is up. So the question is, does micros () work for you? This sketch might test that out:

But if you find the number does not increment, then the micros is faulty (probably because interrupts are not firing) and thus delay will loop forevever. How to fix? Try upgrading your version of the IDE (development environment). Try searching for "blink delay +Duemilanove ".

Please post technical questions on the forum, not by personal message. Thanks!