Component: Hall Effect (Inputs: Sensors)

From Flowcode Help
Jump to navigationJump to search


Author Matrix TSL
Version 1.0 (Release)
Category Inputs: Sensors


Image Hall Effect 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