aboutsummaryrefslogtreecommitdiff
path: root/bin/ard-reset-leonardo
diff options
context:
space:
mode:
authorSudar <sudar@sudarmuthu.com>2013-06-14 16:09:38 +0530
committerSudar <sudar@sudarmuthu.com>2013-06-14 16:09:38 +0530
commit60ca7d285285a8dda3beb8074dc8fd7427f850a4 (patch)
treeef80f847b14d41a71d708812577c84b10dee9826 /bin/ard-reset-leonardo
parent9b38631d61df66afd58279c71df560ac698d1b87 (diff)
Move reseting Leonardo logic to ard-reset-arduino
ard-reset-leonardo which was used for reseting Leonardo was written in Python. Now the logic is added inside the ard-reset-arduino perl script itself. Fix #62 Squashed commit of the following: commit a63366980f452780f9f7894a8c7b77ca9cd9dcdd Author: Simon John <git@the-jedi.co.uk> Date: Fri Jun 14 11:36:00 2013 +0200 who put a space in the shebangs?! commit c798eb26ea12351186b8f64266d98f44ed791270 Author: Simon John <git@the-jedi.co.uk> Date: Fri Jun 14 11:10:12 2013 +0200 replaced ard-reset-leonardo with an update to ard-reset-arduino which is now called from Arduino.mk with the --leonardo flag removed some trailing whitespace upped version string in Arduino.mk
Diffstat (limited to 'bin/ard-reset-leonardo')
-rwxr-xr-xbin/ard-reset-leonardo12
1 files changed, 0 insertions, 12 deletions
diff --git a/bin/ard-reset-leonardo b/bin/ard-reset-leonardo
deleted file mode 100755
index dc05f06..0000000
--- a/bin/ard-reset-leonardo
+++ /dev/null
@@ -1,12 +0,0 @@
-#! /usr/bin/python
-
-import sys
-import serial
-
-ser = serial.Serial(sys.argv[1], 57600)
-ser.close()
-ser.open()
-ser.close()
-ser.setBaudrate(1200)
-ser.open()
-ser.close()