Difference between revisions of "Configuration notes for PiTFT"

From ZynthianWiki
Jump to navigation Jump to search
m
Line 21: Line 21:
 
Reboot
 
Reboot
  
=== or from the command line===
+
== 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”. 
 
Add the following line to the end of file:
 
Add the following line to the end of file:
  
 
   dtoverlay=pitft28-capacitive:touch-swapxy=1,touch-invx=1
 
   dtoverlay=pitft28-capacitive:touch-swapxy=1,touch-invx=1
 +
 +
See also: [[Accessing Zynthian from your computer|Accessing your Zynthian Box from a computer]]

Revision as of 18:02, 26 October 2017

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: (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

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