We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c87e618 + 6bbb0ad commit 7a88e4bCopy full SHA for 7a88e4b
adafruit_sht4x.py
@@ -90,8 +90,8 @@ class SHT4x:
90
91
"""
92
93
- def __init__(self, i2c_bus):
94
- self.i2c_device = i2c_device.I2CDevice(i2c_bus, _SHT4X_DEFAULT_ADDR)
+ def __init__(self, i2c_bus, address=_SHT4X_DEFAULT_ADDR):
+ self.i2c_device = i2c_device.I2CDevice(i2c_bus, address)
95
self._buffer = bytearray(6)
96
self.reset()
97
self._mode = Mode.NOHEAT_HIGHPRECISION # pylint: disable=no-member
0 commit comments