echo Resetting device $COMM_PORT…
Displays “Resetting device $COMM_PORT…” in the log file
stty $COMM_STTY $COMM_PORT hupcl
Resets the arduino
Read the edit in my previous post. It does introduce some other issues. Check out the post I made here for the best solution.