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

Function Celsius

libraries/Temperature/temperature.cpp:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16
17float Celsius(float Fahrenheit)
18{
19 return (Fahrenheit - 32) * 0.55555555555; // 5.0 / 9.0 = 0.555...
20}
21
22
23float Kelvin(float celsius)

Callers 2

heatIndexCFunction · 0.85
unittestFunction · 0.85

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.68