Arduino-Makefile/bin/ard-reset-leonardo
Masataro Asai 349d254013 arduino leonardo support.
Reset leonardo and wait for the connection
to be established.
2013-04-05 17:44:10 +09:00

8 lines
108 B
Python
Executable file

#! /usr/bin/python
import sys
import serial
ser = serial.Serial(sys.argv[1], 1200)
ser.open()
ser.close()