LCD-show/README.md

56 lines
2.2 KiB
Markdown
Raw Normal View History

2017-03-15 15:05:41 +08:00
LCD driver for the Raspberry PI Installation<br>
====================================================
2017-03-15 14:53:04 +08:00
2017-03-15 16:42:07 +08:00
Update: <br>
v1.2-20170302<br>
Add xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb to support Raspbian-2017-03-02<br><br>
Update: <br>
2017-03-15 14:58:32 +08:00
v1.1-20160815<br><br>
2016-08-31 15:25:23 +08:00
2017-03-15 15:05:41 +08:00
1.)Step1, Install Raspbian official mirror <br><br>
====================================================
2017-03-15 16:27:39 +08:00
a)Download Raspbian official mirror:<br>
2016-08-31 15:37:37 +08:00
https://www.raspberrypi.org/downloads/<br>
b)Use“SDFormatter.exe”to Format your TF Card<br>
c)Use“Win32DiskImager.exe” Burning mirror to TF Card<br>
2016-08-31 15:25:23 +08:00
2017-03-15 16:24:06 +08:00
2.) Step2, Clone my repo onto your pi<br><br>
2017-03-15 15:05:41 +08:00
====================================================
```git clone https://github.com/goodtft/LCD-show.git```<br>
```chmod -R 755 LCD-show```<br>
2016-08-31 15:27:11 +08:00
```cd LCD-show/```<br>
2016-08-15 22:00:20 +08:00
2017-03-15 16:24:06 +08:00
3.)Step3, According to your LCD's type, excute:
2017-03-15 15:05:41 +08:00
====================================================
In case of 2.8" LCD<br><br>
2017-03-15 14:58:32 +08:00
```sudo ./LCD28-show```<br><br>
2017-03-15 15:05:41 +08:00
In case of 3.2" LCD<br><br>
2017-03-15 14:58:32 +08:00
```sudo ./LCD32-show```<br><br>
2017-03-15 15:05:41 +08:00
In case of 3.5" LCD<br><br>
2017-03-15 14:58:32 +08:00
```sudo ./LCD35-show```<br><br>
2017-03-15 15:05:41 +08:00
In case of 3.97" LCD<br><br>
2017-03-15 14:58:32 +08:00
```sudo ./LCD397-show```<br><br>
2017-03-15 15:05:41 +08:00
In case of 4.3" LCD<br><br>
2017-03-15 14:58:32 +08:00
```sudo ./LCD43-show```<br><br>
2017-03-15 15:05:41 +08:00
In case of 5" LCD<br><br>
2017-03-15 14:58:32 +08:00
```sudo ./LCD5-show```<br><br>
2017-03-15 15:05:41 +08:00
In case of 7inch(B)-800X480 RPI LCD<br><br>
2017-03-15 14:58:32 +08:00
```sudo ./LCD7B-show```<br><br>
2017-03-15 15:05:41 +08:00
In case of 7inch(C)-1024X600 RPI LCD<br><br>
2017-03-15 14:58:32 +08:00
```sudo ./LCD7C-show```<br><br>
2017-03-15 15:05:41 +08:00
If you need to switch back to the traditional HDMI display<br><br>
2017-03-15 14:58:32 +08:00
```sudo ./LCD-hdmi```<br><br>
2016-08-15 21:58:15 +08:00
2017-03-15 16:38:39 +08:00
Wait a few minutes,the system will restart automaticall , enjoy with your LCD.<br><br>
NOTE:<br>
2017-03-15 16:42:07 +08:00
===========================================================================================
2017-03-15 16:38:39 +08:00
if you are using the newest Raspbian version:2017-03-02<br>
you need to additional excute this two command bellow after Step1,2,3 excuted,<br>
if not so,the Resistive touch to reverse or cannot be calibrated.<br>
This additional command bellow is just for Raspbian-2017-03-02:<br><br>
```cd LCD-show/```<br>
```sudo dpkg -i -B xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb```<br>
2017-03-15 16:46:08 +08:00
```sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf```<br>
```sudo reboot```