11 rindas
85 B
Plaintext
11 rindas
85 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
PIN_PIR=3
|
||
|
|
||
|
# init
|
||
|
gpio mode $PIN_PIR input
|
||
|
|
||
|
# read
|
||
|
gpio read $PIN_PIR
|
||
|
|