Connecting Multiple LSM9DS1 through TCA9548A MUX (Adafruit S

This is a special forum devoted to educators using Adafruit and Arduino products for teaching.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
vijaytida20
 
Posts: 1
Joined: Wed Jul 21, 2021 12:36 pm

Connecting Multiple LSM9DS1 through TCA9548A MUX (Adafruit S

Post by vijaytida20 »

I am trying to use the Adafruit TCA9548A multiplexer to connect multiple Adafruit LSM9DS1 to my arduino. To my best knowledge, I should call tcaselect() with the respective port that my IMU sensor is connected to.
Sample code attached.

After I ran the code I am getting output like
LSM9LSM9

can anyone please help me to solve the problem?
Attachments
Capture.JPG
Capture.JPG (13.76 KiB) Viewed 2574 times

[The extension ino has been deactivated and can no longer be displayed.]


User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: Connecting Multiple LSM9DS1 through TCA9548A MUX (Adafru

Post by Franklin97355 »

Go ahead and copy your code by paste it from the source between CODE tags I will help others see it.

Locked
Please be positive and constructive with your questions and comments.

Return to “For Educators”