. Run the program from a terminal window in the same directory
# as pir_test.py
# use the comand: sudo... s
import sys #For Clean sys.exit command
import time #for sleep/pause
import RPi.GPIO as io #read the... s than 30 seconds to leave the sensor area...")
time.sleep(20)
os.system("xscreensaver-command -activa... allgemeines Einbinden der GPIO-Funktion
import time
GPIO.setmode(GPIO.BCM) #Zaehlweise der GPIO-PIN