sudo rm -rf LCD-show git clone https://github.com/goodtft/LCD-show
chmod -R 755 LCD-show cd LCD-show/ sudo ./MPI5001-show
After execution, the driver will be installed. The system will
automatically restart, and the display screen will rotate 90
degrees to display and touch normally.
( ' XXX-show ' can be changed to the corresponding driver, and ' 90 ' can be changed to 0, 90, 180 and 270, respectively representing
rotation angles of 0 degrees, 90 degrees, 180 degrees, 270 degrees)
cd LCD-show/ sudo ./rotate.sh 90
After execution, the system will automatically restart, and the
display screen will rotate 90 degrees to display and touch
normally.
( ' 90 ' can be changed to 0, 90, 180 and 270, respectively representing
rotation angles of 0 degrees, 90 degrees, 180 degrees, 270 degrees)
If the rotate.sh prompt cannot be found, use Method 1 to install the latest drivers
hdmi_force_edid_audio=1 max_usb_current=1 hdmi_force_hotplug=1
config_hdmi_boost=7 hdmi_group=2 hdmi_mode=87 hdmi_drive=2 hdmi_cvt
800 480 60 6 0 0 0
Step 3, Drive the 5inch HDMI Display-B with the Raspberry Pi
Insert the TF Card to Raspberry Pi, connect the Raspberry Pi and
LCD by HDMI cable; connect USB cable to one of the four USB ports
of Raspberry Pi, and connect the other end of the USB cable to the
USB port of the LCD; then supply power to Raspberry Pi; after that
if the display and touch both are OK, it means drive successfully
(please use the full 2A for power supply).
Step 2, modify the “config.txt”
After the programming of Step1 is completed, open the config.txt
file of TF card root directory and add the following code at the
end of the file, save and eject Micro SD Card safely: