m
This commit is contained in:
parent
a69bda0923
commit
c361f88bba
8
run.sh
8
run.sh
@ -230,12 +230,12 @@ do
|
|||||||
## that info toggled pin 2, which I must assume to be Wiring's GPIO02 and thus
|
## that info toggled pin 2, which I must assume to be Wiring's GPIO02 and thus
|
||||||
## pin BCM27/RPI13 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 "[TTN Gateway]: Toggling reset pin on Rising HF Board"
|
echo "[TTN Gateway]: Toggling reset pin on Rising HF Board"
|
||||||
gpio -1 mode 13 out
|
gpio -1 mode 26 out
|
||||||
gpio -1 write 13 0
|
gpio -1 write 26 0
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
gpio -1 write 13 1
|
gpio -1 write 26 1
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
gpio -1 write 13 0
|
gpio -1 write 26 0
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
elif [[ $GW_TYPE == "custom" ]]; then
|
elif [[ $GW_TYPE == "custom" ]]; then
|
||||||
echo "[TTN Gateway]: Toggling custom reset pin $CUSTOM_RESET_PIN"
|
echo "[TTN Gateway]: Toggling custom reset pin $CUSTOM_RESET_PIN"
|
||||||
|
Loading…
Reference in New Issue
Block a user