TME WSH-12030 Скачать руководство пользователя страница 3

tar xzvf /boot/LCD-show-YYMMDD.tar.gz  
cd LCD-show/ 
chmod +x LCD4-800x480-show 

./LCD4-800x480-show

 

Touch function will work after restart. For ease of use, you can set the screen orientation, see: #Screen

orientation settings.

Method 2. Using Ready-to-use image

The image file with pre-installed driver is located in the IMAGE directory of the CD. Extract the .7z file

and you will get an .img file. Write the image to your micro SD card (How to write an image to a

micro SD card for your Pi? See RPi Image Installation Guides for more details). Then insert the card to

your Pi, power up and enjoy it.

Screen orientation settings

After touch driver installed, the screen orientation can be set by these commands:

0 degree rotation

cd LCD-show/ 
./LCD4-800x480-show 0 

90 degree rotation

cd LCD-show/ 
./LCD4-800x480-show 90 

180 degree rotation

cd LCD-show/ 
./LCD4-800x480-show 180 

270 degree rotation

cd LCD-show/ 
./LCD4-800x480-show 270 

Touch screen calibration

This LCD can be calibrated using a program called xinput_calibrator which can be downloaded
from Xinput-calibrator_0.7.5-1_armhf
Extract and copy the software Xinput-calibrator_0.7.5-1_armhf.deb to the Raspbian of your Pi.
Install it with the commands:

sudo dpkg -i -B xinput-calibrator_0.7.5-1_armhf.deb  

Click the "Menu" button on the task bar, choose "Preference" -> "Calibrate Touchscreen".

Отзывы: