mynewt-core icon indicating copy to clipboard operation
mynewt-core copied to clipboard

New drivers for I2C

Open kartik9k opened this issue 6 years ago • 1 comments

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!

kartik9k avatar Jun 20 '18 19:06 kartik9k

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

microbuilder avatar Jul 02 '18 16:07 microbuilder