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 f77d8a1 + 983f50c commit 7dab2a9Copy full SHA for 7dab2a9
adafruit_ens160.py
@@ -106,11 +106,8 @@ class ENS160:
106
def __init__(self, i2c_bus: I2C, address: int = ENS160_I2CADDR_DEFAULT) -> None:
107
self.i2c_device = i2c_device.I2CDevice(i2c_bus, address)
108
109
- self.reset()
110
-
111
if self.part_id != 0x160:
112
raise RuntimeError("Unable to find ENS160, check your wiring")
113
- self.mode = MODE_IDLE
114
self.clear_command()
115
self.mode = MODE_STANDARD
116
self._buf = bytearray(8)
0 commit comments