Difference between revisions of "Component: Hall Effect (SL353, EBM011) (Sensors: EBM Modules)"

From Flowcode Help
Jump to navigationJump to search
(XML import)
 
(XML import BR)
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
  
 
==Examples==
 
==Examples==
''<span style="color:red;">No additional examples</span>''
+
Sample program using the EBM011 - Hall Effect sensor
  
 +
Reads the sensor and displays output on LED D7.
 +
{{Fcfile|EBM011 - Test Program.fcfx|EBM011 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


Image Hall Effect (SL353, EBM011) component

The board has a Hall Effect sensor that gives a digital output in the presence of a magnetic field (in the region of 60 Gauss) from a permanent magnet or electromagnet, either North or South pole.

Examples

Sample program using the EBM011 - Hall Effect sensor

Reads the sensor and displays output on LED D7. FC6 Icon.png EBM011 Example

Downloadable macro reference

ReadSensor

Macro to read the Hall Effect Sensor.


Returns a boolean value. 0 = Object sense, 1 = No sense

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

This property is of type Single digital pin and can be referenced with the variable name Channel1.

No additional information