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

Download history 183/week @ 2026-02-10 238/week @ 2026-02-17 318/week @ 2026-02-24 211/week @ 2026-03-03 212/week @ 2026-03-10 236/week @ 2026-03-17 264/week @ 2026-03-24 264/week @ 2026-03-31 250/week @ 2026-04-07 275/week @ 2026-04-14 254/week @ 2026-04-21 376/week @ 2026-04-28 474/week @ 2026-05-05 327/week @ 2026-05-12 305/week @ 2026-05-19 485/week @ 2026-05-26

1,689 downloads per month
Used in 13 crates (via ddc-hi)

MIT license

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

release-badge docs-badge license-badge

ddc-i2c implements the ddc traits for i2c implementations.

Backends

  • i2c-linux using the with-linux Cargo feature.
    • The with-linux-enumerate feature exposes an iterator over all detected displays.

Documentation

See the documentation for up to date information.

Dependencies

~185–255KB