Help with Adafruit LTR390 with QT Cable

Arduino is my first ever dive into the world of programing of any sort, so I've been learning by reading and seeing examples online.

Now I read about the QT cables to connect/daisy chain multiple modules together so I thought I'd give it a try since my Uno R4 has a QT connector and I have a Adafruit LTR390 also with QT connectors.

For the life of me I can't figure out a simple sketch to simply print some of the LTR390 values to serial. I read that the QT on the R4 is on a separate I2C bus but I'm still stuck and can't figure out (or even find from Google or otherwise) an simple example using the QT on the R4.

Any examples you might have or links to reading or whatever that I can figure this out would be greatly appreciated.

Thanks. I saw those but they assume your connecting to the primary i2c bus on the r4 and therefore do not work if you connect to the qwiic/qt connector.

I did figure it out in that you have to put &Wire1 when initializing the module. Like ltr390.begin(&Wire1);

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