MCPcopy Create free account
hub / github.com/adafruit/DHT-sensor-library / convertCtoF

Method convertCtoF

DHT.cpp:132–134  ·  view source on GitHub ↗

! * @brief Converts Celcius to Fahrenheit * @param c * value in Celcius * @return float value in Fahrenheit */

Source from the content-addressed store, hash-verified

130 * @return float value in Fahrenheit
131 */
132float DHT::convertCtoF(float c) {
133 return c * 1.8 + 32;
134}
135
136/*!
137 * @brief Converts Fahrenheit to Celcius

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected