Jump to content

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

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


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




Line 36: Line 38:


==Examples==
==Examples==




Line 53: Line 57:




==Downloadable macro reference==
==Macro reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"

Revision as of 14:12, 20 January 2023

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 Source Code

Please click here for the component source code: FC_Comp_Source_PIR_Motion_Sensor.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


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
Connections
SIG Pin
Pin connected to the sensor element of the photo transistor 
Simulation
Sim Mode
 
Panel Settings
Sensitivity
Simulation range used to detect object 
Holding Count
Number of calls to SampleSensor to repeat active state, once triggered