www.joy
-
it.net
Pascalstr. 8 47506 Neukirchen
-
Vluyn
Then, install teh package for the touch function as well as copy a file:
sudo apt
-
get install xserver
-
xorg
-
input
-
evdev
sudo cp
-
rf /usr/share/X11/xorg.conf.d/10
-
evdev.conf /
usr/share/X11/xorg.conf.d/45
-
evdev.conf
Restart the Raspberry Pi:
sudo reboot
5. USAGE OF THE BUTTONS AT THE 3.2"
At the side of 3.2" display ais mounted three buttons.
These can be controlled and used via the GPIO.
If the button is pressed, the signal is pulled to ground (Active_LOW).
The buttons are connected like that:
TFT
Raspberry Pi
Key 1
GPIO 12
Key 2
GPIO 16
Key 3
GPIO 18
6. CALIBRATION OF THE TOUCHSCREEN
Calibration of the 3.2" displays:
If a calibration of the touchscreen should be necessary, it can be performed
like in the following steps. First of all, you must download the calibration
tool. Open the terminal and enter the following command:
sudo apt
-
get install
-
y xinput
-
calibrator
Restart the Raspberry Pi, so that the display is identified correctly:
sudo reboot
Now you can start the calibration with the following command:
DISPLAY=:0.0 xinput_calibrator
Four points will be light up after another which must be pressed to calibrate
the display. Afterwards, the terminal issues four calibration values. To save
the calibration, the adjustment must be saved in a file.
For that create a new folder:
sudo mkdir /etc/X11/xorg.conf.d