#sensor #air #no-std

no-std bme68x-rust

Library for interacting with Bosch BME68x chips over I2C and SPI

4 releases

0.1.3 Aug 11, 2022
0.1.2 Aug 10, 2022
0.1.1 Aug 10, 2022
0.1.0 Aug 10, 2022

#1808 in Embedded development

BSD-3-Clause

69KB
1.5K SLoC

bme68x-rust

A Rust implementation of the BME68X Sensor API.

datasheet

Implementation

This crate took a somewhat novel approach of using c2rust as it's primary way of being ported. This was done so that the internal logic matches the upstream C library as closely as possible. It has been edited to provide a safe and ergonomic API. (Work in Progress)

Examples

Examples are assumed to run on a host computer and have spidriver peripheral attached.

cargo run --example forced_mode -- --spicl /path/to/spicl --tty /dev/ttyUSB1

No runtime deps