Difference between revisions of "Component: Hall Effect Digital (Magnetic)"
From Flowcode Help
Jump to navigationJump to search(7 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
− | Please click here | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_HallEffect_Digital.fcfx FC_Comp_Source_HallEffect_Digital.fcfx] |
+ | |||
+ | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_HallEffect_Digital.fcfx FC_Comp_Source_HallEffect_Digital.fcfx] | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 30: | Line 40: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 42: | 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}} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
==Macro reference== | ==Macro reference== | ||
+ | ===ReadState=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 58: | Line 87: | ||
+ | ===SetTarget=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 76: | Line 106: | ||
+ | ===WaitUntilHigh=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 89: | Line 120: | ||
+ | ===WaitUntilLow=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 100: | Line 132: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
− | |||
− | |||
Latest revision as of 13:10, 7 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_HallEffect_Digital.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_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