embedded-hal
driver for Sharp's Memory LCD and JDI's Memory In Pixel displays.
Rgb111
color```rust
let mut display: MemoryLCD
display.setrotation(memorylcd_spi::framebuffer::Rotation::Deg90); display.clear(BinaryColor::Off);
// drawing code with embedded-graphics Line::new( Point::new(0, 0), Point::new(20, 20), ) .intostyled(PrimitiveStyle::withstroke(BinaryColor::On, 1)) .draw(&mut *display) // Yes, explicit deref is required .unwrap();
display.update(&mut delay); ```
Or Rgb111
mode:
rust
let mut display: MemoryLCD<LPM013M126A<Rgb111>, _, _> = MemoryLCD::new(spi, cs);
display.clear(Rgb111::BLACK);
Note
DISP
pin is not managed by this driver. You should control it by yourself.
EXTCOMIN
in is not managed by this driver. Follow the datasheet, use either 60Hz PWM or GND.