Function vl53l1::write_byte

source ·
pub fn write_byte<I>(
    i2c: &mut I,
    index: Index,
    byte: u8
) -> Result<(), <I as Write<u8>>::Error>where
    I: Write<u8>,
Expand description

Shorthand for writing a slice with a single byte.