git clone https://github.com/goodtft/LCD-show
chmod -R 755 LCD-show
cd LCD-show
sudo ./LCD-show
cd /boot
sudo tar zxvf LCD-show-160701.tar.gz
cd LCD-show
sudo ./LCD5-show
config.txt
#---added by elcrow-pitft-setup---
hdmi_drive=1
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2.speed=50000,keep_vref_on=0,
swapxy?0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
display_rotate=0
#---end elcrow-pitft-setup---