ADS111x 16bit ADCs I2C rust driver no_std
Tested on ESP32 and ADS1115 Documentation
Example
let i2c_speed = kHz;
let i2c = I2C new;
let config = default
.mux
.dr
.pga;
let mut adc = match new;
match adc.read_single_voltage
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.