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 83e200f commit 2bb46f2Copy full SHA for 2bb46f2
adafruit_ina260.py
@@ -19,10 +19,9 @@
19
"""
20
21
# imports
22
-import board
23
24
try:
25
- from board import I2C
+ from board import I2C
26
except ImportError:
27
pass
28
@@ -174,7 +173,7 @@ class INA260:
174
173
175
176
177
- def __init__(self, i2c_bus: board.I2C(), address: int = 0x40) -> None:
+ def __init__(self, i2c_bus: I2C(), address: int = 0x40) -> None:
178
self.i2c_device = i2cdevice.I2CDevice(i2c_bus, address)
179
180
if self._manufacturer_id != self.TEXAS_INSTRUMENT_ID:
0 commit comments