-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support different I2C addresses #40
Comments
Chip select signal is used to select device on SPI bus, so you need to have an output pin per sensor to choose to which to talk to. |
But you right, we need to add AD0 support in I2C mode. |
Also, fyi, it's possible to share one i2c bus using smth like shared_bus: example. |
I've just realized, it would have been hard if |
Side note: I've never had a reason to read how nCS works, but that makes sense. You could also use AD0 in the same way xD
|
MPU9250 can have one of two I2C addresses:
0x68
or0x69
. That way you can use two MPUs on one I2C bus.As far as I know, SPI doesn't have anything similar.
Is it possible to add this feature, given that the crate is built around SPI?
The text was updated successfully, but these errors were encountered: