Closed mgottschlag closed 2 years ago
Thanks for adding this!
I am going to test i2c before merging.
What's the status of this PR?
I can verify that this works for both i2c and spi with the bluepill dev board.
Looking forward to seeing this merged as this is a great little lib but i would rather use it with spi for my application.
I have also verified this works on SPI, could we get this merged?
The patches add support for BME280s connected via SPI. They move the i2c-specific parts of the driver to crate::i2c:: and add a second "BME280" struct in crate::spi::.
What is still missing is an example about how to use the sensor - where should that example go?
I was not able to test I2C functionality after the changes, but SPI seems to work.