Skip to content

Commit f1ea1d1

Browse files
committed
more docs
1 parent a7bb614 commit f1ea1d1

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

adafruit_hdc302x.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,11 @@ def __init__(self, i2c_bus: busio.I2C, address: int = 0x44) -> None:
8686
@property
8787
def heater(self) -> bool:
8888
"""
89-
Heater power
89+
Heater power. Can be set to:
90+
"OFF"
91+
"QUARTER_POWER"
92+
"HALF_POWER"
93+
"FULL_POWER"
9094
9195
:return: True if the heater is on, False otherwise.
9296
"""
@@ -148,7 +152,14 @@ def nist_id(self) -> List[int]:
148152
@property
149153
def auto_mode(self) -> int:
150154
"""
151-
Auto mode for measurements.
155+
Auto mode for measurements. Options:
156+
"5MPS_LP0", "5MPS_LP1", "5MPS_LP2"
157+
"5MPS_LP3", "1MPS_LP0", "1MPS_LP1"
158+
"1MPS_LP2", "1MPS_LP3", "2MPS_LP0"
159+
"2MPS_LP1", "2MPS_LP2", "2MPS_LP3"
160+
"4MPS_LP0", "4MPS_LP1", "4MPS_LP2"
161+
"4MPS_LP3", "10MPS_LP0", "10MPS_LP1"
162+
"10MPS_LP2", "10MPS_LP3", "EXIT_AUTO_MODE"
152163
153164
:return: The current auto mode.
154165
"""

0 commit comments

Comments
 (0)