Hi all, first post in this forum. I am a newbie in all things Arduino!
I am getting the following errors:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt of 10: not in sync
This is very strange as I have not had any issues for the last 2 weeks or so that I have been using my Arduino Uno (a 'Hero' board as part of the inventr.io kits). I have uploaded many sketches until today with no problems.
The loopback test failed. I tried using 2 different Uno boards, 2 different USB cables, and 2 different USB ports on my machine (an old MacBook Pro c.2014 running High Sierra). I've restarted the machine.
The system is recognizing the port that I'm using and I am selecting the correct board (Uno). All seems ok, as expected. But failure when I try to upload. When plugged in, the board 'ON' light is on, and the
I have scoured through https://support.arduino.cc/hc/en-us/sections/360003198300
Maybe I should re-install Arduino IDE? Currently installed is v1.8.19.
Interesting, now I run this code:
void setup() {
Serial.begin(9600);
Serial.println("Setup row");
}
void loop() {
Serial.println("Loop forever");
delay(1000);
}
And the output in the Serial Monitor is:
Setup row
Loop forever
Loop forever
Setup row
Loop forever
Loop forever
Loop forever
Loop forever
//etc
Why does it push the setup code 2 times here? Could this be related to the issue I'm describing above?