Skip to content

Setup 2.8 inch ST7789 / ILI9341 screen #1175

Answered by salarizadi
salarizadi asked this question in Q&A
Discussion options

You must be logged in to vote

If you also had this problem and could not receive the touch correctly and the opposite points were touched, it is enough to solve this problem in xpt2046 definitions:

Instead :

 "xpt2046": {
      "raw_left": 141,
      "raw_right": 1955,
      "raw_top": 1970,
      "raw_bottom": 158
 }

write this:

 "xpt2046": {
      "raw_left": 1955,
      "raw_right": 141,
      "raw_top": 158,
      "raw_bottom": 1970
 }

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@salarizadi
Comment options

Answer selected by salarizadi
@phoddie
Comment options

@salarizadi
Comment options

@salarizadi
Comment options

Comment options

You must be logged in to vote
2 replies
@salarizadi
Comment options

@phoddie
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants