Diecimila Beginner

Hi!

I've just bought my first Diecimila and I'm trying to do the basic led blinking sketch but I have the same message error:

hardware/tools/avr/bin/avr-gcc: line 2: readlink: command not found

hardware/tools/avr/bin/avr-gcc: line 2: readlink: command not found

hardware/tools/avr/bin/avr-gcc: line 2: readlink: command not found

hardware/tools/avr/bin/avr-gcc: line 2: readlink: command not found

hardware/tools/avr/bin/avr-gcc: line 2: readlink: command not found

hardware/tools/avr/bin/avr-gcc: line 2: readlink: command not found

hardware/tools/avr/bin/avr-gcc: line 2: readlink: command not found

hardware/tools/avr/bin/avr-gcc: line 2: readlink: command not found

hardware/tools/avr/bin/avr-g++: line 2: readlink: command not found

hardware/tools/avr/bin/avr-g++: line 2: readlink: command not found

hardware/tools/avr/bin/avr-g++: line 2: readlink: command not found

hardware/tools/avr/bin/avr-g++: line 2: readlink: command not found

hardware/tools/avr/bin/avr-gcc: line 2: readlink: command not found

Any idea what it might be?
Thanks a lot, guys

Dario

Can you post your code up?

Hiya!

Thanks a lot for your reply!

the code is:

/*

  • Blink
  • The basic Arduino example. Turns on an LED on for one second,
  • then off for one second, and so on... We use pin 13 because,
  • depending on your Arduino board, it has either a built-in LED
  • or a built-in resistor so that you need only an LED.
  • http://www.arduino.cc/en/Tutorial/Blink
    */

int ledPin = 13; // LED connected to digital pin 13

void setup() // run once, when the sketch starts
{
pinMode(ledPin, OUTPUT); // sets the digital pin as output
}

void loop() // run over and over again
{
digitalWrite(ledPin, HIGH); // sets the LED on
delay(1000); // waits for a second
digitalWrite(ledPin, LOW); // sets the LED off
delay(1000); // waits for a second
}

Have you properly installed the board and selected which port it is located on?

What operating system are you using?

The code looks OK to me.