Closed kb10uy closed 2 years ago
Adafruit 1.27" Color OLED Breakout Board uses SSD1351 and its display dimension is 128x96. Using DisplaySize::Display128x96 for this module trims top 32 rows.
DisplaySize::Display128x96
This PR adds the Display128x96 variant.
Display128x96
Triangle::new(Point::new(16, 80), Point::new(64, 16), Point::new(112, 80)) .into_styled(PrimitiveStyle::with_stroke(Rgb565::new(255, 0, 0), 3)) .draw(&mut oled) .unwrap();
Display128x128
Published as v0.4.2 on crates.io :)
Thank you for merge!
Adafruit 1.27" Color OLED Breakout Board uses SSD1351 and its display dimension is 128x96. Using
DisplaySize::Display128x96
for this module trims top 32 rows.This PR adds the
Display128x96
variant.Testing code
Display128x128
Display128x96
(new variant)