How can I “reset” an Arduino board?

前端 未结 21 1891
不思量自难忘°
不思量自难忘° 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

    Here is the best way that works out if you are trying to program through the USB cable:

    1. Ground the Tx signal on the board (connect digital I/O #1 to GND)
    2. Plug the USB cable
    3. Upload a new program
    4. Remove the USB cable
    5. Remove Tx grounding

    You are all set!

提交回复
热议问题