Datasheet
Before you start the xinput_calibrator you will need to delete the old calibration data so run
sudo rm /etc/X11/xorg.conf.d/99-calibration.conf
Before running startx and the calibrator - otherwise it gets really confused!
Now you'll have to run the xcalibrator while also running X. You can do this by startx and then opening up the terminal
program and running the xinput_calibrator command (which is challenging to do on such a small screen) OR you can
do what we do which is run startx in a SSH/Terminal shell and then run the xinput_calibrator from the same shell, which
requires the following command order:
FRAMEBUFFER=/dev/fb1 startx &
DISPLAY=:0.0 xinput_calibrator
Follow the directions on screen
Once complete you'll get something like:
© Adafruit Industries
https://learn.adafruit.com/adafruit-pitft-28-inch-resistive-touchscreen-display-raspberry-
pi
Page 33 of 70










