Difference between revisions of "Component: Hall Effect Digital (Magnetic)"
From Flowcode Help
Jump to navigationJump to searchLine 60: | Line 60: | ||
Reads the sensor and displays output on LED D7. | Reads the sensor and displays output on LED D7. | ||
{{Fcfile|EBM011 - Test Program.fcfx|EBM011 Example}} | {{Fcfile|EBM011 - Test Program.fcfx|EBM011 Example}} | ||
+ | |||
+ | |||
Line 128: | Line 130: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
− | |||
− | |||
Revision as of 12:20, 3 February 2023
Author | Matrix Ltd |
Version | 1.1 |
Category | Magnetic |
Contents
Hall Effect Digital component
Simple digital hall effect on off switch triggered by the proximity of another object.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_temp/HallEffect_Digital.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_temp/HallEffect_Digital.fcfx
Detailed description
No detailed description exists yet for this component
Examples
Sample program using the EBM011 - Hall Effect sensor
Reads the sensor and displays output on LED D7.
EBM011 Example
Macro reference
ReadState
![]() |
ReadState |
Get the current collision state. The 'Polarity' property will affect whether a collision is represented by a high or low state. | |
![]() |
Return |
SetTarget
WaitUntilHigh
WaitUntilLow