bc2a9a9798
I found that the previous reset code did not work for Leonardo or Micro, nor did any reset code anywhere on the internet. An examination of the Arduino IDE source code (and the JNI code behind its serial implementation) shows that it holds RTS high and DTR low when doing the 1200 baud open/close. And it turns out that's exactly what's needed! |
||
---|---|---|
.. | ||
ard-reset-arduino |