Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
563 views
in Technique[技术] by (71.8m points)

raspbian - 如何为3.5英寸TFT-LCD更改Raspberry Pi的屏幕分辨率(How to change screen resolution of Raspberry Pi for a 3.5'' TFT-LCD)

I am using a 3.5'' TFT LCD Display with the Raspberry Pi 3 (and latest Raspbian Stretch).

(我在Raspberry Pi 3(和最新的Raspbian Stretch)上使用3.5英寸TFT LCD显示屏 。)

Can anyone please tell me how I can change the screen resolution (on the screen it says 480x320) of my Rasperry Pi.

(谁能告诉我如何更改Rasperry Pi的屏幕分辨率(在屏幕上显示480x320)。)

I installed the screen like they described in this tutorial .

(我按照本教程中的说明安装了屏幕。)

But now I have an overflow (parts of the screen are out of the provided Screen-Size (eg. Dialogs, System settings dialog, ...). Changing the /boot/config.txt values to ( as described here ):

(但是现在我溢出了(部分屏幕超出了所提供的屏幕尺寸(例如,对话框,系统设置对话框等)。将/boot/config.txt值更改为( 如此处所述 ):)

overscan_left=24
overscan_right=24
overscan_top=10
overscan_bottom=24

framebuffer_width=480
framebuffer_height=320

sdtv_mode=2
sdtv_aspect=2

did not helped.

(没有帮助。)

Any clues?

(有什么线索吗?)

Thank you.

(谢谢。)

  ask by natterstefan translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Try by changing parameters this way in /boot/config.txt..

(尝试通过这种方式在/boot/config.txt中更改参数。)

hdmi_drive=2

hdmi_group=2   

hdmi_mode=16

overscan_left=20
overscan_right=12
overscan_top=10
overscan_bottom=10

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...