aboutsummaryrefslogtreecommitdiffstats
path: root/support/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'support/scripts')
-rwxr-xr-xsupport/scripts/reset.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/support/scripts/reset.py b/support/scripts/reset.py
index 7594845..90ff331 100755
--- a/support/scripts/reset.py
+++ b/support/scripts/reset.py
@@ -7,16 +7,11 @@ try:
ser = serial.Serial('/dev/ttyACM0', baudrate=115200)
ser.open()
- # pull dtr and rts low
- ser.setRTS(0)
- ser.setDTR(0)
-
# toggle DTR
ser.setDTR(1)
ser.setDTR(0)
- programDelay = pack("b",35)
- ser.write(programDelay)
+ ser.write("1EAF")
# close
ser.close()