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.
1 parent e660e71 commit 6bbb0adCopy full SHA for 6bbb0ad
adafruit_sht4x.py
@@ -90,8 +90,8 @@ class SHT4x:
90
91
"""
92
93
- def __init__(self, i2c_bus, i2c_addr=_SHT4X_DEFAULT_ADDR):
94
- self.i2c_device = i2c_device.I2CDevice(i2c_bus, i2c_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