Skip to content

Commit

Permalink
adding support for ssd1351 128x96 display (#291)
Browse files Browse the repository at this point in the history
* adding support for ssd1351 128x96 display

adding 128x96 and appropriate offset

* Addressed PR comments

Co-authored-by: Thijs Triemstra <info@collab.nl>
Co-authored-by: Richard Hull <rm_hull@yahoo.co.uk>
  • Loading branch information
3 people committed Oct 20, 2020
1 parent bef97ea commit 12e9f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luma/oled/device/__init__.py
Expand Up @@ -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
Expand Down

0 comments on commit 12e9f7e

Please sign in to comment.