From b23ddb6c58fbed2c3aeb8e17584de0f4854ad837 Mon Sep 17 00:00:00 2001 From: Ray Ozzie Date: Wed, 14 Dec 2016 09:41:38 -0500 Subject: [PATCH] m --- run.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/run.sh b/run.sh index 8d3d708..6711b6c 100755 --- a/run.sh +++ b/run.sh @@ -221,13 +221,15 @@ elif [[ $GW_TYPE == "linklabs-dev" ]]; then sleep 0.1 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. echo "Toggling reset pin on Rising HF Board" - gpio -1 mode 2 out - gpio -1 write 2 0 + gpio -1 mode 3 out + gpio -1 write 3 0 sleep 0.1 - gpio -1 write 2 1 + gpio -1 write 3 1 sleep 0.1 - gpio -1 write 2 0 + gpio -1 write 3 0 sleep 0.1 else echo "ERROR: unrecognized GW_TYPE=$GW_TYPE"