Having trouble connecting Arduino UNO and MKR1000 through I2C, and an I2C sensor

Thanks everyone beforehand, my problem is the following:

I have a school project, and one of the different parts consist on connecting a MKR1000 (Master) and a UNO (Slave) via I2C protocol. The issue comes when I connect a MaxRefDes117 I2C sensor to the UNO, and then send the data to the MKR1000 in order to display it.

I couldn’t find any understandable example code/explanation for this especific type of connection, only analog sensors or simple words.

If i’ve done it alright, the code should be attached.


maxrefdes.ino (5.2 KB)