Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ getTemperature
Method
getTemperature
libraries/AM2315/AM2315.cpp:105–110 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
103
104
105
float AM2315::getTemperature()
106
{
107
float _tem = _temperature;
108
if (_tempOffset != 0.0) _tem += _tempOffset;
109
return _tem;
110
}
111
112
113
///////////////////////////////////////////////////////////
Callers
1
unittest
Function · 0.45
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.36