MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / readExt

Method readExt

libraries/A1301/A1301.cpp:81–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79
80
81float HALL::readExt(float raw)
82{
83 float milliVolts = (raw - _midPoint) * _mVStep;
84 _prevGauss = _lastGauss;
85 _lastGauss = milliVolts / _mVGauss;
86 return _lastGauss;
87}
88
89
90/////////////////////////////////////////////////////////////////////////////

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64