Component: PIR Motion BISS0001 (101020020) (Grove)

From Flowcode Help
Revision as of 14:51, 22 May 2018 by BenR (talk | contribs) (XML import - Pre 8.0 release)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Author Matrix Ltd
Version 1.0 (Release)
Category Grove


Image PIR Motion BISS0001 (101020020) component

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

Examples

No additional examples


Downloadable macro reference

SampleSensor

Returns the state of the sensor.

Activated if movement detected in the sensor range.

Parameters

This macro has no parameters


Return value

BYTE


Initialise

Configures the I/O ready for the sensor to be sampled.

Parameters

This macro has no parameters


Return value

This call does not return a value


Simulation macro reference

This component does not contain any simulation macros


Property reference

SIG Pin

This property is of type Single digital pin and can be referenced with the variable name SIG.

Pin connected to the sensor element of the photo transistor

Sensitivity

This property is of type Unsigned integer and can be referenced with the variable name Sensitivity.

Simulation range used to detect object

Holding Count

This property is of type Unsigned integer and can be referenced with the variable name HOLD_COUNT.

Number of calls to SampleSensor to repeat active state, once triggered