安装镜像工具
sudo apt-get update sudo apt-get install cmake git git clone https://github.com/tasanakorn/rpi-fbcp cd rpi-fbcp/ mkdir build cd build/ cmake .. make sudo install fbcp /usr/local/bin/fbcp
添加开机启动
~$ sudo nano /etc/rc.local
在”exit 0″这一行前面添加:
/usr/local/bin/fbcp &
编辑/boot/config.txt文件在最后添加
hdmi_force_hotplug=1 hdmi_group=2 hdmi_mode=87 hdmi_cvt=320 240 60 1 0 0 0 dtoverlay=pitft28-resistive-overlay,rotate=90,speed=80000000,fps=60
未经允许不得转载:窗外天空 » raspberry 树莓派安装2.8″piTFT显示屏驱动