Pages: [1]   Go Down
Author Topic: Upload works, but nothing happens  (Read 274 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 1
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


I'm having a problem with Eclipse/AVR plugin in windows 7 64-bit using the ATmega1280. I'm using the BlinkingLED code from the tutorial and it compiles fine. I then go to upload it (from eclipse) and it seems to upload, but the LED never comes on.

Here is the code:

#include "WProgram.h"

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

void setup()
  pinMode(ledPin, OUTPUT);      // sets the digital pin as output

void loop()
  digitalWrite(ledPin, HIGH);   // sets the LED on
  delay(1000);                  // waits for a second
  digitalWrite(ledPin, LOW);    // sets the LED off
  delay(2000);                  // waits for a second

int main(void)




I've checked and re-checked project settings, and the program loads fine from the Arduino IDE.

Has anyone seem this problem or might have any suggestions on how to solve it?

Thank you.

Pages: [1]   Go Up
Jump to: