Changed Board Status

This commit is contained in:
2022-12-26 03:26:35 -05:00
parent 5baac26ff6
commit 4536882e81

View File

@@ -27,7 +27,7 @@ for proc in psutil.process_iter():
#12 is the pin number
pir_sensor = 12
GPIO.setmode(GPIO.BOARD)
GPIO.setmode(GPIO.BCM)
GPIO.setup(pir_sensor, GPIO.IN)