I know it's been ages since I posted, but I've been working on a complete overhaul of the code-base for our data loggers. In the process of untangling all that spagetti, I standardized the I2C sensor functions and posted a little tutorial about it on the project blog:
https://edwardmallon.wordpress.com/2017/11/03/configuring-i2c-sensors-with-arduino/
Even when I grab an off-the-shelf library for something, there are usually a few registers that I have to set before a sensor runs in a mode appropriate for environmental monitoring.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.