Jump to content

Component: PIR (EBM012) (EBM Modules): Difference between revisions

From Flowcode Help
XML import - Pre 8.0 release
 
No edit summary
Line 19: Line 19:


==Examples==
==Examples==
''<span style="color:red;">No additional examples</span>''
 
Sample program using the EBM012 - PIR sensor.
 
Reads the PIR output, and displays a 1 or 0 on the LCD display
 
{{Fcfile|EBM012 - Test Program.fcfx|EBM012 Example}}





Revision as of 10:03, 22 October 2018


Author Matrix TSL
Version 1.0 (Release)
Category EBM Modules


Image PIR (EBM012) 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

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