Skip to content

[SSD1306 library issue] Display incorrect on non 128*64 pixel OLED? #7281

Closed
@water5

Description

@water5

I try to use ssd1306 library to 72*40 pixel OLED.
But it seem display start x-pixel 28, and can't display after x-pixel 100.

import ssd1306

oled = ssd1306.SSD1306_I2C(72, 40, i2c)
oled.fill(1)
oled.show()
Image

oled.text('123456789', 0, 0)
oled.show()
Image

oled.text('12345', 28, 0)
oled.show()
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions