Arduino Uno Wifi Rev2 & TCS34725

I am having problems using the Adafruit_TCS34725 library on my Arduino Uno Wifi Rev2. I connected the SDA and SLC pins correctly because when I scan for the sensor using an I2C sensor I find it at 0x29.

However when I try to use any of the example sketches, they cannot find the sensor.

Anyone can help me solve this? Is it even possible?

What value of pull up resistors did you use? Is there anything else on the bus?

Thanks for the quick reply. I tried using 4.7 kΩ as well as no pull up resistors at all. I have no other sensors connected. I think it is due to the fact that the Adafruit_TCS34725.h library in not compatible with a ATmega4809 but I am not certain. I think the Wire library which it is based off functions differently on ATmega4809 but I cannot figure out how to edit the Adafruit library.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.