I've been having trouble connecting the AM2315 sensor to my Raspberry Pi via a TCA9548A multiplexer. The current library works great when the sensor is directly connected to the native I2C bus of the Pi but I'm curious how I can pass a channel from the TCA9548A to AM2315 class for it to communicate with the Pi? I eventually want to connect multiple humidity sensors up and they all have the same I2C address hence the multiplexer. Any help with this would be greatly appreciated. Thanks!
I've been having trouble connecting the AM2315 sensor to my Raspberry Pi via a TCA9548A multiplexer. The current library works great when the sensor is directly connected to the native I2C bus of the Pi but I'm curious how I can pass a channel from the TCA9548A to AM2315 class for it to communicate with the Pi? I eventually want to connect multiple humidity sensors up and they all have the same I2C address hence the multiplexer. Any help with this would be greatly appreciated. Thanks!