Skip to content

I2C failing #3206

@jerryneedell

Description

@jerryneedell

I tried some I2C devices on a fresh build of CP 6.0.0-alpha2 and am getting the following errors with the 7/24/2020 bundle


Press any key to enter the REPL. Use CTRL-D to reload.
Adafruit CircuitPython 6.0.0-alpha.2-24-ga6e048686 on 2020-07-25; Adafruit Metro M4 Airlift Lite with samd51j19
>>> 
>>> import ahtx0_simpletest
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "ahtx0_simpletest.py", line 6, in <module>
  File "adafruit_ahtx0.py", line 68, in __init__
  File "adafruit_ahtx0.py", line 78, in reset
  File "adafruit_ahtx0.py", line 78, in reset
  File "adafruit_bus_device/i2c_device.py", line 104, in write
TypeError: extra keyword arguments given
>>> 
soft reboot

Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
Hello World!



Press any key to enter the REPL. Use CTRL-D to reload.
Adafruit CircuitPython 6.0.0-alpha.2-24-ga6e048686 on 2020-07-25; Adafruit Metro M4 Airlift Lite with samd51j19
>>> import msa301_simpletest
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "msa301_simpletest.py", line 8, in <module>
  File "adafruit_msa301.py", line 221, in __init__
  File "adafruit_register/i2c_bit.py", line 70, in __set__
  File "adafruit_register/i2c_bit.py", line 70, in __set__
  File "adafruit_bus_device/i2c_device.py", line 104, in write
TypeError: extra keyword arguments given
>>> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions