|
Re: [FTC]: Using multiple sensors of same type
Quote:
Originally Posted by godkane
Here is the device I think you are talking about : https://cdn-shop.adafruit.com/datasheets/TCS34725.pdf
I have seen other libraries support it, so I would guess it could.
You would have to change RedStormColorSensor.java to match the registers in the datasheet on page 13. Let me know if you have any issues with what the code is doing.
|
Thank you . I already have multiplexer and test code (not mine) that worked. I was just asking because original post didn't specify which sensors affected and it would be cool if Adafruit Sensors with fixed I2C address can be used with just code without needing extra hardware
__________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
2017 FTC 11722 (Coach)
2016 FTC 10544 (Coach) Canadian Championship Finalist, Rockwell Collins Innovate Award.
2014 FRC 5064 (Mentor)
|