From 60ca7d285285a8dda3beb8074dc8fd7427f850a4 Mon Sep 17 00:00:00 2001 From: Sudar Date: Fri, 14 Jun 2013 16:09:38 +0530 Subject: 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 Date: Fri Jun 14 11:36:00 2013 +0200 who put a space in the shebangs?! commit c798eb26ea12351186b8f64266d98f44ed791270 Author: Simon John 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 --- bin/ard-reset-leonardo | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100755 bin/ard-reset-leonardo (limited to 'bin/ard-reset-leonardo') 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() -- cgit v1.2.3