Skip to content

Displayio column & row commands are 16 bit (need 8 bit too) #1683

@rdagger

Description

@rdagger

I wrote a CircuitPython displayio driver for the SSD1351 OLED 128x128 display. I confirmed the init sequence works by manually sending SPI commands to the display using the FourWire.send() method. However, none of the displayio commands work.

A closer look with a scope shows that displayio sends 16 bit values when it calls set_column and set_row. The SSD1351 expects 8 bit values for column and row.

Would it be possible to add a command_byte_length parameter to the displayio.display class constructor? It could default to 2 for 16 bit displays such as the ILI9341 and the user could pass 1 for 8 bit displays like the SSD1351.
Scope SPI Compare01

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions