Jump to content

Component: PIR Motion (Grove 101020020) (101020020) (Light): Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 14: Line 14:
==PIR Motion (Grove 101020020) component==
==PIR Motion (Grove 101020020) component==
PIR motion sensor component for digital output sensors. Simulates range sensitivity and output hold.
PIR motion sensor component for digital output sensors. Simulates range sensitivity and output hold.
==Component Pack==
SENSORS


==Detailed description==
==Detailed description==




Line 26: Line 32:


==Examples==
==Examples==





Revision as of 16:19, 7 January 2022

Author Matrix Ltd
Version 1.0
Category Light


PIR Motion (Grove 101020020) component

PIR motion sensor component for digital output sensors. Simulates range sensitivity and output hold.

Component Pack

SENSORS

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

SampleSensor
Returns the state of the sensor. Activated if movement detected in the sensor range. 
- BYTE Return


Initialise
Configures the I/O ready for the sensor to be sampled. 
- VOID Return



Property reference

Properties
Sensitivity
Simulation range used to detect object 
Holding Count
Number of calls to SampleSensor to repeat active state, once triggered 
Connections
SIG Pin
Pin connected to the sensor element of the photo transistor 
Simulations
Sim Mode