Difference between revisions of "Configuration notes for PiTFT"

From ZynthianWiki
Jump to navigation Jump to search
m
m
Line 9: Line 9:
 
SOLUTION:
 
SOLUTION:
  
In the Zynthian web config interface:
+
In the Zynthian web config interface: (more details at [[Configuration_Users_Guide]])
  
 
Go to HARDWARE > DISPLAY and ensure “PiTFT 2.8 Capacitive” is selected
 
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
 +
 +
=== or from the command line===
  
 
Login to the command line using SSH and edit “/boot/config.txt”.  See [[Accessing Zynthian from your computer|Accessing your Zynthian Box from a computer]]
 
Login to the command line using SSH and edit “/boot/config.txt”.  See [[Accessing Zynthian from your computer|Accessing your Zynthian Box from a computer]]
Line 18: Line 26:
  
 
   dtoverlay=pitft28-capacitive:touch-swapxy=1,touch-invx=1
 
   dtoverlay=pitft28-capacitive:touch-swapxy=1,touch-invx=1
 
Reboot
 

Revision as of 17:59, 26 October 2017

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: (more details at Configuration_Users_Guide)

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

or from the command line

Login to the command line using SSH and edit “/boot/config.txt”. See Accessing your Zynthian Box from a computer

Add the following line to the end of file:

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