Update print.py

This commit is contained in:
2025-09-23 22:59:18 +02:00
committed by GitHub
parent 7448c9aeb7
commit cfedae703a

View File

@@ -4,8 +4,6 @@ import time
# Setup
GPIO.setmode(GPIO.BCM)
PIN = 26
# Setup pin as input with pull-up
GPIO.setup(PIN, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
print(f"Monitoring GPIO{PIN}. Press Ctrl+C to exit.")