-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into tiffany_shield_update
- Loading branch information
Showing
95 changed files
with
6,806 additions
and
3,786 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Empty file.
28 changes: 14 additions & 14 deletions
28
Electrical/Transistor/code/radio_buggy_mega/arduinoReset.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
#! /usr/bin/python | ||
|
||
import serial | ||
import time | ||
import sys | ||
|
||
if len(sys.argv) != 2: | ||
print "Please specify a port, e.g. %s /dev/ttyUSB0" % sys.argv[0] | ||
sys.exit(-1) | ||
|
||
ser = serial.Serial(sys.argv[1]) | ||
ser.setDTR(1) | ||
time.sleep(0.5) | ||
ser.setDTR(0) | ||
#! /usr/bin/python | ||
|
||
import serial | ||
import time | ||
import sys | ||
|
||
if len(sys.argv) != 2: | ||
print "Please specify a port, e.g. %s /dev/ttyUSB0" % sys.argv[0] | ||
sys.exit(-1) | ||
|
||
ser = serial.Serial(sys.argv[1]) | ||
ser.setDTR(1) | ||
time.sleep(0.5) | ||
ser.setDTR(0) | ||
ser.close() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.