This commit is contained in:
Giulio De Pasquale 2017-08-18 14:22:27 +02:00
parent 2c9e3df35a
commit 9db92276be

8
calzelarm.py Normal file
View 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')