Commit c5711f80 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Modifies the way a controller is used by defining several connections and...

Modifies the way a controller is used by defining several connections and adding an io to components
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment