Piicodev - detecting which sensors are attaced

Hi Murray,

What an elegant solution!
Perhaps it is worth baking in a I2C diagnostic test into the PiicoDev unified libraries, then you could call a function to have your device report which I2C addresses it can see and what PiicoDev modules they typically correspond to.
I’ll let our design team know about your solution so they can look into it, but if you wanted to contribute your ideas yourself then I’m sure they’d be keen to see a pull request with your idea.
https://github.com/CoreElectronics/CE-PiicoDev-Unified/pulls

2 Likes