pub mod i2c;
pub trait DisplayInterface {
type Error;
fn init(&mut self) -> Result<(), Self::Error>;
fn send_commands(&mut self, cmd: &[u8]) -> Result<(), Self::Error>;
fn send_data(&mut self, buf: &[u8]) -> Result<(), Self::Error>;
}
pub use self::i2c::I2cInterface;