Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp32s3-box: enable display #5674

Merged
merged 3 commits into from
Dec 6, 2021
Merged

Conversation

jepler
Copy link
Member

@jepler jepler commented Dec 6, 2021

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
Copy link
Member Author

jepler commented Dec 6, 2021

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
Copy link
Member

@tannewt tannewt left a comment

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