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

Function Fahrenheit

libraries/Temperature/temperature.cpp:11–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10
11float Fahrenheit(float celsius)
12{
13 return 1.8 * celsius + 32; // 5.0 / 9.0 = 1.8
14}
15
16
17float Celsius(float Fahrenheit)

Callers 2

heatIndexCFunction · 0.85
unittestFunction · 0.85

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.68