Difference between revisions of "Configuration notes for PiTFT"

From ZynthianWiki
Jump to navigation Jump to search
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Configuration notes for the following touchscreen hardware:
+
=Configuration notes for the following touchscreen hardware=
  
 
• Raspberry Pi 3
 
• Raspberry Pi 3
 +
 
• PiTFT PLUS 2.8 Capacitive
 
• PiTFT PLUS 2.8 Capacitive
  
PROBLEM:
+
==PROBLEM:==
 +
 
 
• Rotated touch screen relative to LCD 90 degrees
 
• Rotated touch screen relative to LCD 90 degrees
  
SOLUTION:
+
==SOLUTION:==
  
In the Zynthian web config interface: (more details at [[Configuration_Users_Guide]])
+
In the Zynthian web config interface:  
  
 
Go to HARDWARE > DISPLAY and ensure “PiTFT 2.8 Capacitive” is selected
 
Go to HARDWARE > DISPLAY and ensure “PiTFT 2.8 Capacitive” is selected
Line 19: Line 21:
 
Reboot
 
Reboot
  
=== or from the command line===
+
(more details at [[Configuration_Users_Guide]])
  
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]]
+
== 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:
 
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]]

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

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