Function vl53l1::write_slice

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

Write given slice of data to the device at the given index.

Panics if slice.len() is greater than MAX_SLICE_LEN.