Skip to content

colstart is not correct #5

Closed
@lesamouraipourpre

Description

@lesamouraipourpre

With the Adafruit 2.13" HD Tri-Color eInk / ePaper Display FeatherWing the default colstart value passed to the displayio.EPaperDisplay constructor is wrong

super().__init__(
bus,
start_sequence,
stop_sequence,
**kwargs,
ram_width=250,
ram_height=296,
busy_state=True,
write_black_ram_command=0x24,
write_color_ram_command=0x26,
black_bits_inverted=False,
set_column_window_command=0x44,
set_row_window_command=0x45,
set_current_column_command=0x4E,
set_current_row_command=0x4F,
refresh_display_command=0x20,
colstart=1,
always_toggle_chip_select=True,
)

Using the simpletest example with the included display-ruler.bmp I get the following with lines of noise at the bottom and lines missing from the top:
SSD1680_default_colstart

If I change the colstart in the library to 8 it lines up correctly:
SSD1680_colstart_8

Do the other Adafruit products that uses the SSD1680 library work with default colstart value or do they all suffer from this noise?

I can either do a PR to:

  • change the default value to 8
  • expose colstart as a SSD1680 constructor parameter and add constants and documentation

Could someone with access to the other displays report back on their behaviour please?

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