![]() |
Hall Effect sensor Library 1.0.0
Hall Effect Sensor library (Analog and Digital, regular and EasyC)
|
Base class Analog Hall Effect Sensor. More...
#include <Hall-Effect-Analog-SOLDERED.h>
Public Member Functions | |
HallEffect_Analog (int _pin) | |
Constructor of HallEffect_Analog. | |
uint16_t | getReading () |
Reads hall effect sensor value. | |
float | getMilliTeslas () |
Reads hall effect calculated milli Teslas value. | |
Private Attributes | |
int | pin |
Base class Analog Hall Effect Sensor.
HallEffect_Analog::HallEffect_Analog | ( | int | _pin | ) |
Constructor of HallEffect_Analog.
int | _pin Pin of the sensor (has to support analogRead) |
float HallEffect_Analog::getMilliTeslas | ( | ) |
Reads hall effect calculated milli Teslas value.
uint16_t HallEffect_Analog::getReading | ( | ) |
Reads hall effect sensor value.
|
private |