Hello,
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)
{
init();
setup();
for(;;)
{
loop();
}
}
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.