Skip to content

Docstring updates #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 17, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions adafruit_funhouse/peripherals.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,21 +212,21 @@ def light(self):
@property
def temperature(self):
"""
Return the temperature
Return the temperature in degrees Celsius
"""
return self._aht20.temperature

@property
def relative_humidity(self):
"""
Return the relative humidity
Return the relative humidity as a percentage (0 - 100)
"""
return self._aht20.relative_humidity

@property
def pressure(self):
"""
Return the temperature
Return the barometric pressure in hPa, or equivalently in mBar
"""
return self._dps310.pressure

Expand Down