no_std driver for VL6180X (Time-of-Flight I2C laser-ranging module)
This is currently a minimum viable implementation to get proximity measurements.
Include this library as a dependency in your Cargo.toml
:
[dependencies.vl6180x]
version = "<version>"
The example code is based on a STM32G070 microcontroller. It can be run using
cargo run --example oneshot
This will build and flash the example using a black magic probe on MacOS. To use it on other platforms or with other jtag probes you should change tools/bmp.sh
and the runner cmd in .cargo/config
.