Add Human Activity Sensor
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
PIN_PIR=3
|
||||
|
||||
# init
|
||||
gpio mode $PIN_PIR input
|
||||
|
||||
# read
|
||||
gpio read $PIN_PIR
|
||||
|
||||
Reference in New Issue
Block a user