Jump to content

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

From Flowcode Help
No edit summary
No edit summary
Line 16: Line 16:


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




Line 24: Line 26:


==Examples==
==Examples==





Revision as of 13:28, 17 November 2021

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.

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