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

Apparent conflict with I2C Wire library #102

Open
tigoe opened this issue Oct 11, 2022 · 1 comment
Open

Apparent conflict with I2C Wire library #102

tigoe opened this issue Oct 11, 2022 · 1 comment
Labels
type: imperfection Perceived defect in any part of project

Comments

@tigoe
Copy link

tigoe commented Oct 11, 2022

I have not been able to connect to I2C devices on a MKR1500. The I2C device seems to stop responding after the MKRNB library is added to the sketch. I used a TCS34725 I2C light sensor to test, and tested with the Adafruit TCS34725 lib and Hideaki Tai's library.

Steps to test:

  1. attach sensor to board via A4 and A5
  2. run basic example sketches from sensor libraries (this one and this one). Both libraries gave sensor data
  3. Confirm MKRNB is working with this sketch
  4. Add MKRNB library and basic connection header to sketch (lines 18, 26-28 and 48-46 of this sketch)

After adding the MKRNB lines on step 4, neither I2C library would get past the sensor .begin() line. I was able to duplicate the error by loading a blank sketch on the board and repeating steps 1-4 for both sensors, but I didn't get further than that. Sadly, I had no other I2C sensors in the house to test with.

@per1234 per1234 added the type: imperfection Perceived defect in any part of project label Oct 11, 2022
@iubieta
Copy link

iubieta commented Jun 5, 2024

The MKRNB has already an I2C device attached with the 0x60 address, check that you are not using that same address in other devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants