EPD = Electronic Paper Display
NOTE: This is a personal POC project.
- Normal B/W Driver
- Tri-Color Driver if supported
- Fast Driver
- Gray Scale Drivers
Refer List of Displays to see which driver should be used.
let spi = Spi::new_txonly(
p.SPI2,
p.PB10,
p.PC3,
NoDma,
NoDma,
Hertz(8_000_000),
embassy_stm32::spi::Config::default(),
);
let cs = Output::new(p.PC7, Level::Low, Speed::VeryHigh);
let dc = Output::new(p.PC9, Level::High, Speed::VeryHigh);
let rst = Output::new(p.PA11, Level::Low, Speed::VeryHigh);
let busy = Input::new(p.PG9, Pull::None);
// let di = EPDInterfaceNoCS::new(spi, dc, rst, busy);
let di = EPDInterface::new(spi, cs, dc, rst, busy);
display.init(&mut delay);
// draw display here
display.display_frame();
// 2in9, 296x128
// FPC: FPC-7519
// SSD1680