How can I “reset” an Arduino board?

前端 未结 21 1866
不思量自难忘°
不思量自难忘° 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条回答
  •  萌比男神i
    2020-12-13 01:25

    I had the very same problem today. Here is a simple solution we found to solve this issue (thanks to Anghiara):

    Instead of loading your new code to the Arduino using the "upload button" (the circle with the green arrow) in your screen, use your mouse to click "Sketch" and then "Upload".

    Please remember to add a delay() line to your code when working with Serial.println() and loops. I learned my lesson the hard way.

提交回复
热议问题