Function vl53l1::read_byte

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

Shorthand for reading a single byte from the register at the given index.