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 |
#1808 in Hardware support
622 downloads per month
Used in 6 crates
(via ddc-hi)
13KB
224 lines
ddc-i2c
ddc-i2c
implements the ddc
traits for
i2c
implementations.
Backends
i2c-linux
using thewith-linux
Cargo feature.- The
with-linux-enumerate
feature exposes an iterator over all detected displays.
- The
Documentation
See the documentation for up to date information.
lib.rs
:
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());
Dependencies
~220KB