Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ getEthanol
Method
getEthanol
libraries/SGP30/SGP30.cpp:260–264 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
258
259
260
float SGP30::getEthanol()
261
{
262
float cref = 0.4; // ppm
263
return cref * exp((_srefEth - _ethanol) * 1.953125e-3);
264
}
265
266
267
/////////////////////////////////////////////////////
Callers
1
unittest
Function · 0.80
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.64