[title]Parallax PIR Sensor[/title]
This example shows how to use Parallax Passive Infrared Motion Sensor. The driver works with any pin. It tries to use interrupts if available and falls back to regular input port and monitoring thread if interrupt is not supported by the pin.
Edit: Update for forum entry.