LCD-show/README.md

56 lines
2.2 KiB
Markdown
Raw Normal View History

2017-03-15 08:05:41 +01:00
LCD driver for the Raspberry PI Installation<br>
====================================================
2017-03-15 07:53:04 +01:00
2017-03-15 09:42:07 +01: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 07:58:32 +01:00
v1.1-20160815<br><br>
2016-08-31 09:25:23 +02:00
2017-03-15 08:05:41 +01:00
1.)Step1, Install Raspbian official mirror <br><br>
====================================================
2017-03-15 09:27:39 +01:00
a)Download Raspbian official mirror:<br>
2016-08-31 09:37:37 +02: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 09:25:23 +02:00
2017-03-15 09:24:06 +01:00
2.) Step2, Clone my repo onto your pi<br><br>
2017-03-15 08:05:41 +01:00
====================================================
```git clone https://github.com/goodtft/LCD-show.git```<br>
```chmod -R 755 LCD-show```<br>
2016-08-31 09:27:11 +02:00
```cd LCD-show/```<br>
2016-08-15 16:00:20 +02:00
2017-03-15 09:24:06 +01:00
3.)Step3, According to your LCD's type, excute:
2017-03-15 08:05:41 +01:00
====================================================
In case of 2.8" LCD<br><br>
2017-03-15 07:58:32 +01:00
```sudo ./LCD28-show```<br><br>
2017-03-15 08:05:41 +01:00
In case of 3.2" LCD<br><br>
2017-03-15 07:58:32 +01:00
```sudo ./LCD32-show```<br><br>
2017-03-15 08:05:41 +01:00
In case of 3.5" LCD<br><br>
2017-03-15 07:58:32 +01:00
```sudo ./LCD35-show```<br><br>
2017-03-15 08:05:41 +01:00
In case of 3.97" LCD<br><br>
2017-03-15 07:58:32 +01:00
```sudo ./LCD397-show```<br><br>
2017-03-15 08:05:41 +01:00
In case of 4.3" LCD<br><br>
2017-03-15 07:58:32 +01:00
```sudo ./LCD43-show```<br><br>
2017-03-15 08:05:41 +01:00
In case of 5" LCD<br><br>
2017-03-15 07:58:32 +01:00
```sudo ./LCD5-show```<br><br>
2017-03-15 08:05:41 +01:00
In case of 7inch(B)-800X480 RPI LCD<br><br>
2017-03-15 07:58:32 +01:00
```sudo ./LCD7B-show```<br><br>
2017-03-15 08:05:41 +01:00
In case of 7inch(C)-1024X600 RPI LCD<br><br>
2017-03-15 07:58:32 +01:00
```sudo ./LCD7C-show```<br><br>
2017-03-15 08:05:41 +01:00
If you need to switch back to the traditional HDMI display<br><br>
2017-03-15 07:58:32 +01:00
```sudo ./LCD-hdmi```<br><br>
2016-08-15 15:58:15 +02:00
2017-03-15 09:38:39 +01:00
Wait a few minutes,the system will restart automaticall , enjoy with your LCD.<br><br>
NOTE:<br>
2017-03-15 09:42:07 +01:00
===========================================================================================
2017-03-15 09:38:39 +01: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 09:46:08 +01: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```