Skip to content

Apparent conflict with I2C Wire library #102

@tigoe

Description

@tigoe

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions