Stub
This commit is contained in:
parent
2c9e3df35a
commit
9db92276be
8
calzelarm.py
Normal file
8
calzelarm.py
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
import RPi.GPIO as GPIO
|
||||||
|
|
||||||
|
CHANNEL = 19
|
||||||
|
|
||||||
|
if GPIO.input(CHANNEL):
|
||||||
|
print('Input was HIGH')
|
||||||
|
else:
|
||||||
|
print('Input was LOW')
|
Loading…
Reference in New Issue
Block a user