Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
17
float Celsius(float Fahrenheit)
18
{
19
return (Fahrenheit - 32) * 0.55555555555; // 5.0 / 9.0 = 0.555...
20
}
21
22
23
float Kelvin(float celsius)
Callers
2
heatIndexC
Function · 0.85
unittest
Function · 0.85
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.68