树莓派7寸官方屏设置
1、备份启动配置文件
sudo cp /boot/config.txt /home/pi
拷贝boot下的config.txt到home/pi下
sudo chmod 777 config.txt
config.txt添加可编辑属性
2、config.txt配置
用文本编辑器打开config.txt,以下是示例
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too