Reset arduino board
ard-reset-arduino [OPTION]... [PORT]
To reset Arduinos, we either pulse the DTR line or open the USB port at 1200 baud and close it again.
--verbose Watch what's going on on STDERR.
--period Specify the DTR pulse width in seconds.
--caterina Reset a Leonardo, Micro, Robot, LilyPadUSB or similar 32u4-based device.
ard-reset-arduino /dev/ttyACM0
ard-reset-arduino --verbose --period=0.1 /dev/cu.usb*
ard-reset-arduino --verbose --caterina /dev/ttyUSB0
There are no known bugs in this application. Please report problems to the author. Patches are welcome.
Simon John, [email protected]
Copyright (c) 2014, Simon John. All rights reserved.
This file is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.