forked from TARS-AI-Community/TARS-AI
-
Notifications
You must be signed in to change notification settings - Fork 1
Touchscreen Calibration
Latisha. edited this page Feb 14, 2025
·
1 revision
To calibrate the touchscreen, follow these steps:
sudo apt-get update sudo apt-get install xinput-calibrator
xinput_calibrator Touch the targets as instructed. The tool will generate calibration offsets.
Save the output data to a configuration file:
sudo nano /usr/share/X11/xorg.conf.d/99-calibration.conf Paste the calibration data and save the file.
sudo reboot
Interact with the desktop to ensure accurate touch. If needed, rerun the calibration tool or manually adjust the values in 99-calibration.conf.
Additional Notes
- Enable SPI and I2S interfaces via sudo raspi-config under Interfacing Options.
- Refer to the Adafruit MAX98357 guide for detailed amplifier setup.
- Test the audio and touchscreen thoroughly after setup.