m
This commit is contained in:
parent
b23ddb6c58
commit
3b57ecd50d
10
run.sh
10
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"
|
||||
|
Loading…
Reference in New Issue
Block a user