Gooe Evening all,
I have a MEGA 1280 connected to my 64 bit laptop running Windoze 7.
I compiled (using 0018 & 0022) one of the standard “blink” sketches (see below) and upload it to my MEGA 1280. It appears to upload correctly (the RX & TX LEDs blink like they always have) but does not blink the LED connected to pin 13 nor does it send the “Starting” to the serial console as it should.
I have checked the baud rate (currently 9600 for both computer and in the IDE) and made sure that the IDE was set for the 1280 board. I have also tried an LED on other pins thinking that the on board LED may have burned out but evidently this isn’t the case.
The problem is that this is one of the first sketches I ran when I purchased the 1280 a year ago.
Somewhere I thought I saw a note that addressed and fixed this problem on the 1280 but now I cant find it.
Any ideas how to fix this, its driving me crazy
Thanks
Dillon
/*
-
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.
*/
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
Serial.begin(9600);
Serial.println(“Starting…”); // Sends “Starting” to the serial port
}
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(200); // waits for a second
digitalWrite(ledPin, HIGH); // sets the LED on
delay(400); // waits for a second
digitalWrite(ledPin, LOW); // sets the LED off
delay(200); // waits for a second
digitalWrite(ledPin, HIGH); // sets the LED on
delay(140); // waits for a second
digitalWrite(ledPin, LOW); // sets the LED off
delay(500); // waits for a second
digitalWrite(ledPin, HIGH); // sets the LED on
delay(1000); // waits for a second
digitalWrite(ledPin, LOW); // sets the LED off
delay(400); // waits for a second
}