Function vl53l1::write_word

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

Shorthand for writing a slice with a single word.