You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/python
|
|
# usage: reset_arduino <DEVICE>
|
|
# where <DEVICE> is typically some /dev/ttyfoobar
|
|
import sys
|
|
import serial
|
|
ser = serial.Serial()
|
|
ser.port=sys.argv[2]
|
|
ser.baudrate=1200
|
|
ser.open(); ser.close()
|
|
|