[−][src]Trait ssd1306::interface::DisplayInterface
A method of communicating with SSD1306
Required methods
fn send_commands(&mut self, cmd: &[u8]) -> Result<(), ()>
Send a batch of up to 8 commands to display.
fn send_data(&mut self, buf: &[u8]) -> Result<(), ()>
Send data to display.
Implementors
impl<I2C> DisplayInterface for I2cInterface<I2C> where
I2C: Write,
[src]
I2C: Write,
fn send_commands(&mut self, cmds: &[u8]) -> Result<(), ()>
[src]
fn send_data(&mut self, buf: &[u8]) -> Result<(), ()>
[src]
impl<SPI, DC> DisplayInterface for SpiInterface<SPI, DC> where
SPI: Write<u8>,
DC: OutputPin,
[src]
SPI: Write<u8>,
DC: OutputPin,