Touch screen TFT display

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

I had buy a LCD TFT 800x480 pixels, I had written the code and it's work fine, but on this display there is a touch screen with a XPT2046, the value I read from is almost anything no stable, I must miss something, I had try to build a "calibration screen" but each time I hit the same region the value of the AD could be from 200 to 240 of 255 (8bit).

Any help will be apreciated

Yours truly,
Sylvain Bissonnette
www.microsyl.com

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Does it have a touch screen controller chip, or just x and y a/ds?

Imagecraft compiler user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

In the datasheet they say touch screen controller. but I think it's more just a differential 2 channel A/D. What a "controller" must do?

Yours truly,
Sylvain Bissonnette
www.microsyl.com

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Here's something that sort of works

Attachment(s): 

Imagecraft compiler user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks Bob I will check a look to your code,

Yours truly,
Sylvain Bissonnette
www.microsyl.com

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Problem found, I had a to small delay between the command and the reading of the AD

Thanks to all (Bob)

Yours truly,
Sylvain Bissonnette
www.microsyl.com