gp2y0e02b

no_std driver for GP2Y0E02B (SHARP I2C Distance Measuring Sensor, 4-50cm)

Build Status crates.io Docs

Basic usage

Include this library as a dependency in your Cargo.toml:

yaml [dependencies.gp2y0e02b] version = "<version>"

Use embedded-hal implementation to get I2C handle and then create gp2y0e02b handle.

rust extern crate gp2y0e02b;

License

MIT license