mynewt-core
mynewt-core copied to clipboard
New drivers for I2C
Hey! Is it possible to write drivers on our own for interfacing with I2C for RedBear Nano 2? If no, are you guys planning to add support for new drivers?
If yes, I think I'm close to making one, but it isn't working as expected. I'm able to write into registers of a sensor, however when I read from the register right after, it's not showing me the value that I wrote!
Please help!
I just sent a PR in of an I2C based driver that may (or may not) be a useful reference of exactly what is required to add a new I2C-based sensor driver to Mynewt: https://github.com/apache/mynewt-core/pull/1237