Component: Hall Effect (EBM011) (EBM Modules)
From Flowcode Help
(Redirected from Component: ID b42786ab fd9a 47cf b3c4 560ecdc613fd)
Jump to navigationJump to search
Author | Matrix TSL |
Version | 1.0 (Release) |
Category | EBM Modules |
Contents
Hall Effect (EBM011) component
The board has a Hall Effect sensor (SL353) 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.
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