10 years, 10 months ago.

REG_TOUCH_TAG

Hey, i'm trying to to use this sample but the content of the "REG_TOUCH_TAG" registy seems to be wrong.

I've created new display using TFT.Keys(...) function. So far so good. nevertheless the "REG_TOUCH_TAG" Registry must content the ASCII value of the toutched key, but id doesnt! To be more precisely: ONE, LAST BIT IS MISSING!

TFT.Keys(10, 100, 300, 30, 26, 0, "1234567890");

the keys 0 and 1 both return 24 (dec = 0001 1000) should be 48 (0011 0000) and 49 (0011 0001). same problem with 2 and 3, 4 and 5 and so on ....

may there be a probelm with SPI Functions or something?

do you have any ideas?

Question relating to:

i managed to fix the problem by commenting out the line speeding up the SPI communication:

"FT_Gpu_Hal.cpp", line 69 _spi.frequency(20000000); 20 Mhz SPI clock

posted by Borys Mizhis 12 Nov 2014
Be the first to answer this question.