BlocklyProp reference for PIR block
Compatible with the Propeller Activity Board WX, Propeller FLiP module, or Other board types. Propeller I/O pin availability will vary by board type. Not available for Badge or Scribbler Robot board types.
This block works with any of the Parallax PIR (passive infrared) motion sensors:
New to PIR sensors? Click here to see an example schematic and quick Blockly program to help you get started.
PIR sensor
The PIR sensor block returns a 0 (zero) if no motion is detected, and a 1 (one) if a motion is detected. The PIN dropdown must be set to the pin connected to PIR sensor’s out pin.