Crate mipidsi

source ·
Expand description

This crate provides a generic display driver to connect to TFT displays that implement the MIPI DSI. Currently only supports SPI with DC pin setups via the display_interface

An optional batching of draws is supported via the batch feature (default on)

List of supported models

  • ST7789
  • ST7735
  • ILI9486
  • ILI9341
  • ILI9342C

Example

// create a DisplayInterface from SPI and DC pin, with no manual CS control
let di = SPIInterfaceNoCS::new(spi, dc);
// create the ILI9486 display driver from the display interface and optional RST pin
let mut display = Builder::ili9486(di)
    .init(&mut delay, Some(rst));
// clear the display to black
display.clear(Rgb666::BLACK)?;

Re-exports

pub use error::Error;
pub use builder::Builder;
pub use options::*;

Modules

super::Display builder module
Module holding ModelOptions and other helper types for super::Display

Structs

Display driver to connect to TFT displays.