From 3b57ecd50dd1ca9124c02539c6dcb39bbe94f555 Mon Sep 17 00:00:00 2001 From: Ray Ozzie Date: Wed, 14 Dec 2016 09:44:38 -0500 Subject: [PATCH] m --- run.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/run.sh b/run.sh index 6711b6c..fba2a25 100755 --- a/run.sh +++ b/run.sh @@ -222,14 +222,14 @@ elif [[ $GW_TYPE == "linklabs-dev" ]]; then elif [[ $GW_TYPE == "risinghf" ]]; then ## found this info via gwrst.sh in the risinghf loriot concentrator install package ## that info toggled pin 2, which I must assume to be Wiring's GPIO02 and thus - ## pin 3 on Raspberry Pi. It couldn't be RPi pin 2 because that's 5VDC. + ## pin BCM27/RPI13 on Raspberry Pi. It couldn't be RPi pin 2 because that's 5VDC. echo "Toggling reset pin on Rising HF Board" - gpio -1 mode 3 out - gpio -1 write 3 0 + gpio -1 mode 13 out + gpio -1 write 13 0 sleep 0.1 - gpio -1 write 3 1 + gpio -1 write 13 1 sleep 0.1 - gpio -1 write 3 0 + gpio -1 write 13 0 sleep 0.1 else echo "ERROR: unrecognized GW_TYPE=$GW_TYPE"