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 4162269 + 692e01e commit aea5dffCopy full SHA for aea5dff
adafruit_onewire/bus.py
@@ -14,7 +14,7 @@
14
__version__ = "0.0.0-auto.0"
15
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_OneWire.git"
16
17
-import busio
+import onewireio
18
from micropython import const
19
20
try:
@@ -65,7 +65,7 @@ class OneWireBus:
65
66
def __init__(self, pin: Pin) -> None:
67
# pylint: disable=no-member
68
- self._ow = busio.OneWire(pin)
+ self._ow = onewireio.OneWire(pin)
69
self._readbit = self._ow.read_bit
70
self._writebit = self._ow.write_bit
71
self._maximum_devices = _MAX_DEV
0 commit comments