Skip to content

esp32s3-box: enable display#5674

Merged
tannewt merged 3 commits into
adafruit:mainfrom
jepler:esp32s3-box-display
Dec 6, 2021
Merged

esp32s3-box: enable display#5674
tannewt merged 3 commits into
adafruit:mainfrom
jepler:esp32s3-box-display

Conversation

@jepler

@jepler jepler commented Dec 6, 2021

Copy link
Copy Markdown

This involves also fixing some problems with pin & pwm busy & never-reset tracking.

Before these changes, the PWM created during board_init() was lost, making the display not appear (backlight turned full off).

Now, the display is initialized at boot time and all the related pins remain allocated as far as attempts to construct a DigitalInOut using them are concerned.

@dhalbert wondered whether this could be related to #5476 but as the fixes I found were entirely within the port, it seems less likely there is a shared cause with that other issue, affecting samd microcontrollers. (which is not to say there might not be similar bugs in two ports)

@jepler

jepler commented Dec 6, 2021

Copy link
Copy Markdown
Author

Note that trying to use this LCD with adafruit_st7789 yields a reversed display. 🤷 there's an inversion control register setting made in the library's setup string that I simply deleted.

@tannewt tannewt self-requested a review December 6, 2021 22:04

@tannewt tannewt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for getting this going!

@tannewt tannewt merged commit e8e5ea7 into adafruit:main Dec 6, 2021
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