Skip to content

Feather M0 Adalogger mpconfigboard.h has SDA and SCL swapped relative to schematic and pins.c #4630

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
anecdata opened this issue Apr 18, 2021 · 3 comments
Labels

Comments

@anecdata
Copy link
Member

This arose from an issue on Discord. I don't have this board to try it out.

Firmware

Adafruit CircuitPython 6.2.0 on 2021-04-05; Adafruit Feather M0 Adalogger with samd21g18

Code/REPL

In https://github.com/adafruit/Adafruit_CircuitPython_ServoKit library:

i2c = board.I2C()

Behavior

code.py output:
Traceback (most recent call last):
  File "code.py", line 10, in <module>
  File "adafruit_servokit.py", line 79, in __init__
ValueError: Invalid pins

Description

mpconfigboard.h has SCL on PA22, SDA on PA23 for DEFAULT_I2C_BUS_
pins.c and schematic have SDA on PA22, SCL on PA23)

@anecdata anecdata added the bug label Apr 18, 2021
@ladyada
Copy link
Member

ladyada commented Apr 18, 2021

w00pz. wanna submit a fix? not a lot of folks used the adalogger :)

@anecdata
Copy link
Member Author

sure, I just have no way to test it

@anecdata
Copy link
Member Author

Fixed by #4631. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants