announcement-box/toolkit/human-activity-sensor

11 行
85 B
Plaintext

2020-12-17 19:08:59 +00:00
#!/bin/bash
PIN_PIR=3
# init
gpio mode $PIN_PIR input
# read
gpio read $PIN_PIR