diff --git a/lib/arambadge.py b/lib/arambadge.py index 9b4be95..0bb0d8d 100644 --- a/lib/arambadge.py +++ b/lib/arambadge.py @@ -3,7 +3,6 @@ # Copyright (c) 2019 Uri Shaked import board -import busio from digitalio import DigitalInOut, Pull from analogio import AnalogIn import displayio @@ -117,14 +116,14 @@ def pixels(self): def i2c(self): """direct access to the I2C bus""" if not self._i2c: - self._i2c = busio.I2C(board.SCL, board.SDA) + self._i2c = board.I2C() return self._i2c @property def spi(self): """direct access to the SPI bus""" if not self._spi: - self._spi = busio.SPI(board.SCK, MISO=board.MISO, MOSI=board.MOSI) + self._spi = board.SPI() return self._spi @property