switch lock and unlock button
This commit is contained in:
parent
ff7049e6d1
commit
a1b71842b5
|
@ -43,8 +43,8 @@ fi
|
|||
# control relais card
|
||||
if [ -n "$cmd" ]; then
|
||||
case "$cmd" in
|
||||
indoor_lock) pin=4; delay1=0; delay2=1;;
|
||||
indoor_unlock) pin=17; delay1=0; delay2=1;;
|
||||
indoor_lock) pin=17; delay1=0; delay2=1;;
|
||||
indoor_unlock) pin=4; delay1=0; delay2=1;;
|
||||
indoor_open) pin=27; delay1=0; delay2=1;;
|
||||
outdoor_buzz) pin=22; delay1=15; delay2=5;;
|
||||
*) header; echo 'Do not hack the hackerspace!'"$cmd"; exit;;
|
||||
|
|
Loading…
Reference in a new issue