Skip to content
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

Possible change to blinka, need to specify scl/sda now. #1

Open
Docteh opened this issue Dec 18, 2021 · 1 comment
Open

Possible change to blinka, need to specify scl/sda now. #1

Docteh opened this issue Dec 18, 2021 · 1 comment

Comments

@Docteh
Copy link

Docteh commented Dec 18, 2021

Traceback (most recent call last):
  File "test.py", line 9, in <module>
    i2c = busio.I2C(frequency=400000)
TypeError: __init__() missing 2 required positional arguments: 'scl' and 'sda'

So I needed to add the following to the usage example

import board
i2c = busio.I2C(board.SCL, board.SDA, frequency=400000)

More of a hardware problem, but any idea on if the DS2482-800 supports parasitic power? All my reads are 85c I think my next step there is to pick up a DS2482-100

@fgervais
Copy link
Owner

Thank you for reporting, this is my fault actually it's because I was running my unmerged PR adafruit/Adafruit_Blinka#496 and I forgot to translate back my example.

I'm sorry I don't know if the ds2482-800 supports parasitic power.

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

No branches or pull requests

2 participants