Configuration notes for PiTFT

From ZynthianWiki
Jump to navigation Jump to search

1 Configuration notes for the following touchscreen hardware

• Raspberry Pi 3

• PiTFT PLUS 2.8 Capacitive

1.1 PROBLEM:

• Rotated touch screen relative to LCD 90 degrees

1.2 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)

1.3 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