Skip to content

Commit 5eae7e1

Browse files
authored
Add temperature units
The unit of the values returned by `getTemperature()` were not listed. I confirmed empirically that the sensor returns the temperature in units of Celsius.
1 parent ed1aeca commit 5eae7e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Represents a Modulino Thermo module.
149149
Returns the humidity reading.
150150

151151
- **`float getTemperature()`**
152-
Returns the temperature reading.
152+
Returns the temperature reading in Celsius.
153153

154154
---
155155

@@ -195,4 +195,4 @@ Represents a color for Modulino Pixels modules.
195195

196196
## License
197197

198-
This library is released under the [MPL-2.0 license](../LICENSE).
198+
This library is released under the [MPL-2.0 license](../LICENSE).

0 commit comments

Comments
 (0)