Component: PIR (Inputs: Sensors)

From Flowcode Help
Jump to navigationJump to search


Author Matrix TSL
Version 1.0 (Release)
Category Inputs: Sensors


Image PIR component

This board provides a PIR sensor which is read as a digital input.

Examples

Sample program using the EBM012 - PIR sensor.

Reads the PIR output, and displays a 1 or 0 on the LCD display FC6 Icon.png EBM012 Example

Downloadable macro reference

ReadSensor

Read the PIR Sensor and return a booleon

Parameters

This macro has no parameters


Return value

BOOL : Returns true if the operation is a success, else false


Simulation macro reference

This component does not contain any simulation macros


Property reference

Channel 1

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

No additional information