60ca7d2852
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: commita63366980f
Author: Simon John <git@the-jedi.co.uk> Date: Fri Jun 14 11:36:00 2013 +0200 who put a space in the shebangs?! commitc798eb26ea
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
15 lines
268 B
Bash
Executable file
15 lines
268 B
Bash
Executable file
#!/bin/bash
|
|
|
|
while [ ! -e $1 ]
|
|
do
|
|
echo Waiting connection at $1
|
|
sleep 0.2
|
|
done
|
|
|
|
sleep 1
|
|
# necessary for me...
|
|
# /dev/ttyACM0 used to disappear after the reset
|
|
# but no longer now. How can I tell whether the
|
|
# connection is ready?
|
|
|
|
echo Connection Established
|