w.phpclasses.org/blog/package/12182/post/2-How-to-Use-a-PHP-Raspberry-PI-GPIO-Library-To-Communicate-wi... rogram is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the... l window in the same directory
# as pir_test.py
# use the comand: sudo paython pir_test.py
#
# NOTE: Wo... while True: # endless loop, waiting for nothing. Use Control+C to exit
if io.input(pir_pin): # Waits