Skip to content

Commit 3c044df

Browse files
committed
Documented the parameter inputs for measure_raw
1 parent bedde22 commit 3c044df

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

adafruit_sgp40.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,12 @@ def measure_raw(self, temperature=25, relative_humidity=50):
217217
A humidity and temperature compensated raw gas value which helps
218218
address fluctuations in readings due to changing humidity.
219219
220+
221+
:param float temperature: The temperature in degrees Celsius, defaults
222+
to :const:`25`
223+
:param float relative_humidity: The relative humidity in percentage, defaults
224+
to :const:`50`
225+
220226
The raw gas value adjusted for the current temperature (c) and humidity (%)
221227
"""
222228
# recycle a single buffer

0 commit comments

Comments
 (0)