From c1255e6b95d59ab127adba2c5e4efa58f66288e5 Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Tue, 14 Jan 2020 20:58:55 +0100 Subject: [PATCH] doc/signaltypes: add temperature conversions --- doc/api/signaltypes.rst | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/doc/api/signaltypes.rst b/doc/api/signaltypes.rst index 078869f..f63f1cd 100644 --- a/doc/api/signaltypes.rst +++ b/doc/api/signaltypes.rst @@ -97,9 +97,6 @@ referred to as relative distances. For example, the distance value of the :meth:`InfraredSensor <.ev3devices.InfraredSensor.distance>` is a relative distance. - - - .. _linspeed: speed: mm/s @@ -222,4 +219,13 @@ milliwatt (mW). temperature: °C --------------- -Temperature is measured in degrees Celcius (°C). +Temperature is measured in degrees Celcius (°C). To convert to degrees +Fahrenheit (°F) or Kelvin (K), you can use the following conversion formulas: + +.. math:: + :nowrap: + + \begin{eqnarray} + °\!F & = & °\!C \cdot \frac{9}{5} + 32\\ + K & = & °\!C + 273.15 + \end{eqnarray}