Skip to content

Incorrect framebuffer width for SSD1680 #52

Closed
@cdmuhlb

Description

@cdmuhlb

The Adafruit_SSD1680 class increases its width parameter to the nearest multiple of 8 before constructing its framebuffers. This results in the framebuffer width not matching the display width whenever the latter is not a multiple of 8 (as is the case for the 122x250 resolution of the 2.13" E-ink Bonnet for Raspberry Pi). One consequence of this mismatch is that graphics are shifted (by 4 pixels in the case of the bonnet) when the rotation of the display is set to 1 or 2.

This was addressed for the SSD1675 and SSD1675B in 8022b34 by distinguishing between the width and stride of the framebuffer. The same fix should be ported to the SSD1680 driver.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions