Created
October 9, 2021 22:59
-
-
Save dmpanch/60f47f863869ff244d98577a56a2eeff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# enable pwm on GPIO 13 | |
dtparam=audio=on | |
dtoverlay=pwm,pin=13,func=4,enable_jack | |
# display settings | |
gpio=0-9=a2 | |
gpio=12-17=a2 | |
gpio=20-25=a2 | |
dtoverlay=dpi24 | |
enable_dpi_lcd=1 | |
display_default_lcd=1 | |
extra_transpose_buffer=2 | |
dpi_group=2 | |
dpi_mode=87 | |
dpi_output_format=0x7F216 | |
hdmi_timings=480 0 26 16 10 640 0 25 10 15 0 0 0 60 0 32000000 1 | |
dtoverlay=waveshare-28dpi-3b-4b | |
dtoverlay=waveshare-28dpi-3b | |
dtoverlay=waveshare-28dpi-4b | |
# rotate display for 270 degrees, so it is more convenient to install it in the case, otherwise you will see the black edge of the screen | |
display_rotate=3 | |
disable_splash=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@dmpanch
I'm a total newb, can you explain why this works:
Isn't GPIO 13 used by the waveshare 2.8" screen?