Configuration notes for PiTFT

From ZynthianWiki
Jump to navigation Jump to search

Configuration notes for the following touchscreen hardware

• Raspberry Pi 3

• PiTFT PLUS 2.8 Capacitive

PROBLEM:

• Rotated touch screen relative to LCD 90 degrees

SOLUTION:

In the Zynthian web config interface:

Go to HARDWARE > DISPLAY and ensure “PiTFT 2.8 Capacitive” is selected

Add the following to the Config:

dtoverlay=pitft28-capacitive:touch-swapxy=1,touch-invx=1

Reboot

(more details at Configuration_Users_Guide)

or from the command line

Login to the command line using SSH and edit “/boot/config.txt”. Add the following line to the end of file:

 dtoverlay=pitft28-capacitive:touch-swapxy=1,touch-invx=1

See also: Accessing your Zynthian Box from a computer