diff --git a/ohmpi/hardware_components/raspberry_pi.py b/ohmpi/hardware_components/raspberry_pi.py index bf7eaa8ed87d33c8db7b9d81277939f2603c9637..4082951e4b5f21f9c2ffc2cec5d81aeaa9989710 100644 --- a/ohmpi/hardware_components/raspberry_pi.py +++ b/ohmpi/hardware_components/raspberry_pi.py @@ -23,7 +23,7 @@ class Ctl(CtlAbstract): super().__init__(**kwargs) self.connections = dict() # I2C - self.connections['i2c'] = I2C(board.SCL, board.SDA) # noqa + self.connections['i2c'] = busio.I2C(board.SCL, board.SDA) # noqa # Extended I2C self.connections['i2c_ext'] = ExtendedI2C(4) # 4 is defined # modbus