TMF-8820 + Arduino Uno R4 WIFI

I have a TMF8820 that I’m trying to connect to an Arduino Uno R4 WIFI without success. I can upload and run other sketches on the Uno but all of the example code for the TMF-8820 fails on the myTMF882X.begin() call with no returned error message.

Any suggestions would be most welcome.

if you connect with QWIIC connector, make sure to add (&Wire1), which is the QWIIC- i2C on an UNOR4. By default Wire is used…

Thank you.

Solved the problem – just added the following line to my init function

Wire1.begin();

and changed the begin call to

if(!myTMF882X.begin(Wire1))