把TF卡插在电脑上,打开Micro SD卡根目录的 config.txt文件并在文件末端加入以下代码,并保存。

max_usb_current=1
hdmi_force_hotplug=1
config_hdmi_boost=7
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_drive=1
display_rotate=0
hdmi_cvt 1024 600 60 6 0 0 0

树莓派 修改config.txt配置文件_txt文件

树莓派 修改config.txt配置文件_sd卡_02

树莓派 修改config.txt配置文件_txt文件_03

注:
参数 hdmi_cvt 1024 600 60 6 0 0 0 :这里地方输入显示屏的分辨率,不同的显示器的分辨率不一样。