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 7dcde6c commit 4d73b6bCopy full SHA for 4d73b6b
adafruit_sht4x.py
@@ -30,8 +30,6 @@
30
31
import time
32
import struct
33
-
34
-import board
35
from adafruit_bus_device import i2c_device
36
from micropython import const
37
@@ -134,9 +132,7 @@ class SHT4x:
134
132
135
133
"""
136
137
- def __init__(
138
- self, i2c_bus: I2C, address: int = _SHT4X_DEFAULT_ADDR
139
- ) -> None:
+ def __init__(self, i2c_bus: I2C, address: int = _SHT4X_DEFAULT_ADDR) -> None:
140
self.i2c_device = i2c_device.I2CDevice(i2c_bus, address)
141
self._buffer = bytearray(6)
142
self.reset()
0 commit comments