From a8510160fb41a68fd2b9be771341b0223280ba79 Mon Sep 17 00:00:00 2001 From: Ray Ozzie Date: Sat, 26 Mar 2016 15:18:15 -0400 Subject: [PATCH] build fixes --- run.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/run.sh b/run.sh index 9338beb..6745fa9 100755 --- a/run.sh +++ b/run.sh @@ -150,6 +150,16 @@ echo "******************" echo "******************" echo "" +# Reset iC880a PIN - this is necessary to reset its state + +gpio -1 mode 22 out +gpio -1 write 22 0 +sleep 0.1 +gpio -1 write 22 1 +sleep 0.1 +gpio -1 write 22 0 +sleep 0.1 + # Test the connection, wait if needed. while [[ $(ping -c1 google.com 2>&1 | grep " 0% packet loss") == "" ]]; do