Difference between revisions of "Component: PIR (Sensors: EBM Modules)"
From Flowcode Help
Jump to navigationJump to search (XML import) |
|||
Line 19: | Line 19: | ||
==Examples== | ==Examples== | ||
− | + | 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 09:28, 28 July 2016
Author | Matrix TSL |
Version | 1.0 (Release) |
Category | Sensors: EBM Modules |
Contents
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
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