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

Method getH2

libraries/SGP30/SGP30.cpp:253–257  ·  view source on GitHub ↗

experimental - datasheet Page 2 1.953125e-3 = 1/512

Source from the content-addressed store, hash-verified

251// experimental - datasheet Page 2
252// 1.953125e-3 = 1/512
253float SGP30::getH2()
254{
255 float cref = 0.5; // ppm
256 return cref * exp((_srefH2 - _h2) * 1.953125e-3);
257}
258
259
260float SGP30::getEthanol()

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64