Tool/software:
Hello, I am trying to read data from 18 IMUs. The IMUs all have the same addresses, so I am using the TCA9548A. For my setup, I want one primary multiplexer and three secondary multiplexers. The secondary multiplexers will be connected on channels 0, 1, and 2 on the primary multiplexer. My 1st secondary multiplexer will have 8 IMUs connected. My 2nd secondary multiplexer will have 8 IMUs connected. My 3rd secondary multiplexer will have 2 IMUs connected. I am having trouble with an Arduino code to talk to each IMU individually. I can hear from IMUs 1-8 but not 9-18. Here is the intro and setup loop of my code. My question is, how can I request say, channel 1 on my primary multiplexer then channel 3 on my secondary multiplexer to read data from IMU 12? Thank you!