announcement-box/toolkit/human-activity-sensor

11 lines
85 B
Plaintext
Raw Normal View History

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