We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
there si no way to use a dvi display in portrait mode with picoDVI lib. The lib support only 320*240 in 8b colordepth or 640*480 in 2b
If we try by inverting size, we received error
Traceback (appels les plus récents en dernier) : Fichier "<stdin>", ligne xx, dans <module> ValueError: height invalide
see this topic
to use in portrait mode, it could be like this
# Adjusted framebuffer dimensions for portrait mode fb = picodvi.Framebuffer(240, 320, clk_dp=board.GP14, clk_dn=board.GP15, red_dp=board.GP12, red_dn=board.GP13, green_dp=board.GP18, green_dn=board.GP19, blue_dp=board.GP16, blue_dn=board.GP17, color_depth=8) # Set rotation to 90 degrees for portrait mode display = framebufferio.FramebufferDisplay(fb, rotation=90)
an other way could be to add rotationparameter to adafruit_display_text
rotation
adafruit_display_text
The text was updated successfully, but these errors were encountered:
Don't change the framebuffer dimensions but do set the rotation. Then it works like you want.
Sorry, something went wrong.
tannewt
No branches or pull requests
there si no way to use a dvi display in portrait mode with picoDVI lib.
The lib support only 320*240 in 8b colordepth or 640*480 in 2b
If we try by inverting size, we received error
Traceback (appels les plus récents en dernier) : Fichier "<stdin>", ligne xx, dans <module> ValueError: height invalide
see this topic
to use in portrait mode, it could be like this
an other way could be to add
rotation
parameter toadafruit_display_text
The text was updated successfully, but these errors were encountered: