Skip to content

Conversation

@TheKitty
Copy link
Contributor

@TheKitty TheKitty commented Jul 9, 2025

This new function polls picoDVI for the current configuration. It returns a None tuple if undefines and the resolution in width, height, pixel_depth if it exists.

Feel free to tweak.

@github-actions
Copy link

github-actions bot commented Jul 9, 2025

👋 Thanks for this pull request! Unfortunately, it looks like the automated continuous integration (CI) test(s) failed. These can be tricky to fix so we've written a guide on how to fix them locally. It has pages about running pre-commit locally and another about building the docs locally with sphinx. Thanks for contributing to CircuitPython! If you have more questions, feel free to join the Adafruit Discord and post in #circuitpython-dev.

Copy link
Contributor

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

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

I updated this to access values from the instantiated display rather than the ones on picodvi.FrameBuffer which are like meta definitions of properties I think, not returning the plain values.

This looks good to me now, thanks for the new function and issues for feature requests.

I'll work on updating the request config function next to support color_depth and use Sam's logic to avoid re-setting the same configurations.

@FoamyGuy FoamyGuy merged commit 8d3f1ab into main Jul 9, 2025
2 checks passed
@TheKitty TheKitty requested a review from dhalbert July 9, 2025 19:24
@TheKitty
Copy link
Contributor Author

TheKitty commented Jul 9, 2025

Thanks Tim, looks great!

@TheKitty TheKitty deleted the TheKitty-patch-1 branch July 9, 2025 21:40
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jul 18, 2025
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.

3 participants