Arduino Micro is connected on COM 4. I am using Windows and have Arduino 1.6.5 software. I press the reset button before uploading as described. I have tried moving the pin to 8 with an external LED and resistor without change. The Micro has an on board LED that is blinking (flashes of three, different than the sketch) (one comment had that this would flash if no external led was connected)
I have said before that I am a beginner this is my first sketch. You are wrong but you have made some positive corrections. This is the code that I am using that has made the error. I have added the semicolon and capitalized the words OUTPUT, HIGH and LOW. It is still not working, the error message has not changed.
I do not understand what you are saying about what code tags.
Thanks. I have found File/examples/01.basics/Blink and used the given code.
Still get the same error message.
How can I have an error message when I am using the basic example code?
int led=13; // added a semicolon
void setup() {
// put your setup code here, to run once:
pinMode (led, OUTPUT); // changed pinmode to pinMode, changed output to OUTPUT
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite (led, HIGH); // changed digitalwrite to digitalWrite, changed high to HIGH
delay (2000);
digitalWrite (led, LOW); // changed digitalwrite to digitalWrite, changed low to LOW
delay (2000);
}
Ok, the problem cannot be the code. I have tried CWashburn's code, and the example codes and still get the same problem.
The device manager is recognizing the Arduino Micro. It easily updated the drivers from Arduino file. It is showing up on COM7 in device manager and Arduino software. So the link is working.
It's a new Arduino Micro from a reputable supplier so I have no reason to think the board is broken.
My computer is not filled with viruses or anything like that. It's a few years old but I have done a system restore (every year I do one to avoid anything the virus protection missed). Computer should be fine. Septillion, thanks for the link. I did not understand all of that Cygbin stuff, but it seemed to suggest an edit on the Autoexec Bat file. I avoid that sort of thing as one can easily cause a lot of problems that way. It also does not seem likely that a default setting would prevent Arduino use or there would be more of these problems.
I should probably add that my version was 1.6.4, but it shouldn't make a difference. I don't consider myself an expert, but you might try re-downloading it and completely starting over (you will want to save all of your sketches to a different file before you do this).