eldritch_shield 0.2.4

Crate for interfacing with the Blackmagic 3G-SDI Shield for Arduino
Documentation
1
2
3
4
5
6
pub trait I2cTransport {
    type Error;

    fn write(&mut self, addr: &[u8; 2], bytes: &[u8]) -> Result<(), Self::Error>;
    fn read(&mut self, addr: &[u8; 2], buffer: &mut [u8]) -> Result<(), Self::Error>;
}