Skip to content

atmel-samd: send INVOFF (0x20), not 0x2a, in ST7735 init sequences - #11429

Merged
dhalbert merged 1 commit into
adafruit:mainfrom
MakerClassCZ:st7735-invoff
Sep 19, 2026
Merged

dhalbert merged 1 commit into
adafruit:mainfrom
MakerClassCZ:st7735-invoff

Conversation

@lynt-smitka

Copy link
Copy Markdown

Six ST7735 boards (hallowing_m0_express, pewpew_lcd, pewpew_m4, pybadge, pygamer, ugame10) have 0x2a, 0, // _INVOFF in their init sequence. 0x2a is CASET not INVOFF - it should be 0x20.

The panel comes out of SWRESET with inversion off, so the wrong byte had no visible effect. CASET with no parameters is harmless too; the real CASET follows later in the sequence.

Tested on PyBadge.

The six ST7735 boards labelled the command _INVOFF but sent 0x2a (CASET)
with no parameters. Use 0x20 like the other in-tree ST7735 boards and
adafruit_st7735r.

@dhalbert dhalbert left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@dhalbert
dhalbert merged commit a8e25ba into adafruit:main Sep 19, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants