Crates.io | bme68x-rust |
lib.rs | bme68x-rust |
version | 0.1.3 |
source | src |
created_at | 2022-08-10 21:44:57.181884 |
updated_at | 2022-08-11 18:51:50.713722 |
description | Library for interacting with Bosch BME68x chips over I2C and SPI |
homepage | |
repository | https://github.com/benbrittain/bme68x-rust |
max_upload_size | |
id | 642912 |
size | 84,034 |
A Rust implementation of the BME68X Sensor API.
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 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