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

From Flowcode Help
Jump to navigationJump to search
(XML import - Pre 8.0 release)
 
 
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}}
  
  

Latest 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

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