bme280-rs icon indicating copy to clipboard operation
bme280-rs copied to clipboard

A platform agnostic Rust driver for the Bosch BM[PE]-280

Results 12 bme280-rs issues
Sort by recently updated
recently updated
newest added

Hi! I was trying to implement the bme280 crate in a project of mine. While trying I always ran into some issues. I was then running the example from the...

Note that the example won't compile until https://github.com/stm32-rs/stm32f4xx-hal/pull/510 is merged, since they use `stm32f4xx-hal` and it's currently on 1.0.0-alpha.7 (not that it seemingly compiles out of the box, anyway). Not...

I generated a project with this: https://github.com/esp-rs/esp-template (I selected esp32-c3). Then I added bme280 (0.5.0) to my Cargo.toml. Then I built. I got this error: ``` error: failed to select...

This PR does the following: - Upgrades `embedded-hal` and `embedded-hal-async` to `=1.0.0-rc.3` - Fixes async build - SPI: use `SpiDevice` exclusively - Incorporates #28 by applying its changes to the...

The measurement time is hardcoded using a delay of 40ms: https://github.com/VersBinarii/bme280-rs/blob/051071f898630c0fd8845cc7eea966a5654e74af/src/lib.rs#L691 This limits the measurement rate to 25Hz, while both the BMP280 and BME280 datasheets say faster updates rates are...

### Update stm32f4xx-hal to 0.14 stm32f4xx-hal 0.13.2 is pinned on embedded-hal =1.0.0-alpha.7, while bme280 is pinned on =1.0.0-alpha.8. Update the dependency so that `cargo build` succeeds. ### Fix build for...

This PR fixes SPI communication for sync implementation of the BME280 driver. I didn't fix async impl, because I couldn't get it to compile. I'd need to be investigate the...

The following code is not right, as it would require the data to be prepended with a dummy byte ```rust impl SPIInterface where SPI: Transfer, CS: OutputPin, { fn read_any_register(...

With this code (to read the weather with esp32-c3 and bm280): ``` use esp_idf_svc::hal::{ delay, i2c::{I2cConfig, I2cDriver}, peripherals::Peripherals, prelude::*, }; use bme280::i2c::BME280; fn main() { esp_idf_svc::sys::link_patches(); esp_idf_svc::log::EspLogger::initialize_default(); let peripherals =...

Changes `delay_ns` to `delay_ms` in `lib::AsyncBME280Common::soft_reset` to actually make the startup delay `2 ms` as stated in the comment. 2ns is definitely to short.