From 12e9f7edb9cd4b6f504fb3227f6c55025d42ced0 Mon Sep 17 00:00:00 2001 From: Brian Floersch Date: Tue, 20 Oct 2020 06:33:39 -0400 Subject: [PATCH] adding support for ssd1351 128x96 display (#291) * adding support for ssd1351 128x96 display adding 128x96 and appropriate offset * Addressed PR comments Co-authored-by: Thijs Triemstra Co-authored-by: Richard Hull --- luma/oled/device/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luma/oled/device/__init__.py b/luma/oled/device/__init__.py index 5ee906da..e37811d5 100644 --- a/luma/oled/device/__init__.py +++ b/luma/oled/device/__init__.py @@ -367,7 +367,7 @@ def offset(bbox): super(ssd1351, self).__init__(serial_interface, width, height, rotate, framebuffer, **kwargs) def _supported_dimensions(self): - return [(96, 96), (128, 128)] + return [(96, 96), (128, 128), (128, 96)] def _init_sequence(self): self.command(0xFD, 0x12) # Unlock IC MCU interface