I'm using an Arduino UNO board and I've a problem with the Arduino 1.0 IDW (I'm using Slackware Linux).
In particular the Blinking of a Led doesn't work.
The code that I used is here:
// Example 01 : Blikning LED
#define LED 13 // LED connected to
// digital pin 13
void setup() {
pinMode(LED,OUTPUT); //sets the digital pin
//as output
}
void loop(){
digitalWrite(LED,HIGH); //turns LED on
delay(3000); // wait 3 seconds
digitalWrite(LED,LOW); //turns the LED off
delay(3000);
}
It worked on Arduino 0021.
Me(Slackware64) and another Arduino Linux user (Slackware) have the same problem.
We're using the Slacky.eu packages (I'm the mantainer of these packages).
I tried to use Slackbuilds.org packages but the problem remains the same.
With the 0022 version the problem can be solved with an:
#include "ArduinoTestSuite.h
but in the current version I didn't find this library.
Also I should point out that some versions of avr-gcc seem unusable. I think 4.3.3 and 4.4.3 are good. Personally I have a self-compiled version using the build-script for linux, which can be found on avrfreaks.net
This sounds like the binutils bug, if so you need to downgrade binutils (which might imply downgrading gcc too). Search the forum, lots of other people have had this problem and there are other ways round it (I think simply including the serial library cures it).