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

Method decMidPoint

libraries/ACS712/ACS712.cpp:212–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210
211
212uint16_t ACS712::decMidPoint()
213{
214 if (_midPoint > 0) _midPoint -= 1;
215 return _midPoint;
216};
217
218
219// configure by sampling for 2 cycles of AC

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64