MCPcopy 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
105float AM2315::getTemperature()
106{
107 float _tem = _temperature;
108 if (_tempOffset != 0.0) _tem += _tempOffset;
109 return _tem;
110}
111
112
113///////////////////////////////////////////////////////////

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36