4 releases
Uses old Rust 2015
| 0.2.2 | Feb 16, 2023 |
|---|---|
| 0.2.1 | Mar 28, 2018 |
| 0.2.0 | Mar 27, 2018 |
| 0.1.0 | Mar 25, 2018 |
#2180 in Hardware support
1,689 downloads per month
Used in 13 crates
(via ddc-hi)
13KB
224 lines
Implementation of DDC/CI traits over I2C.
Example
extern crate ddc_i2c;
extern crate ddc;
use ddc::Ddc;
let mut ddc = ddc_i2c::from_i2c_device("/dev/i2c-4").unwrap();
let mccs_version = ddc.get_vcp_feature(0xdf).unwrap();
println!("MCCS version: {:04x}", mccs_version.maximum());
ddc-i2c
ddc-i2c implements the ddc traits for
i2c implementations.
Backends
i2c-linuxusing thewith-linuxCargo feature.- The
with-linux-enumeratefeature exposes an iterator over all detected displays.
- The
Documentation
See the documentation for up to date information.
Dependencies
~185–255KB