How can I “reset” an Arduino board?

前端 未结 21 1908
不思量自难忘°
不思量自难忘° 2020-12-13 01:07

I\'ve uploaded a sketch to an Arduino Uno whose loop is something like this:

void loop(){
    Serial.println(\"Hello, World!\");
}

So, now,

21条回答
  •  渐次进展
    2020-12-13 01:14

    I had this issue as well. I tried the above methods and none seemed to work, however something that did work (somehow, not sure if it was just a freak thing or it is actually a way to do it) was:

    1. Unplug USB from the Arduino
    2. Press and hold the reset button
    3. Plug in USB and power up
    4. Continue holding and upload the sketch. Once it's done uploading, release the reset button.

提交回复
热议问题