Difference between revisions of "Component: PIR (Sensors: EBM Modules)"
From Flowcode Help
Jump to navigationJump to search (XML import BR) |
|||
Line 22: | Line 22: | ||
Reads the PIR output, and displays a 1 or 0 on the LCD display | Reads the PIR output, and displays a 1 or 0 on the LCD display | ||
− | |||
{{Fcfile|EBM012 - Test Program.fcfx|EBM012 Example}} | {{Fcfile|EBM012 - Test Program.fcfx|EBM012 Example}} | ||
− | |||
==Downloadable macro reference== | ==Downloadable macro reference== |
Latest revision as of 15:45, 16 February 2017
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
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