pub trait DisplayInterface {
    fn send_commands(&mut self, cmd: &[u8]) -> Result<(), ()>;
    fn send_data(&mut self, buf: &[u8]) -> Result<(), ()>;
}
Expand description

A method of communicating with SSD1306

Required Methods§

Send a batch of up to 8 commands to display.

Send data to display.

Implementors§