Hi! So, I have an 2.4 TFT Shield with touchscreen. I want to know if there is any way to make the touch more responsive from code or there is just a hardware problem. So, when I touch the screen with the pen, it takes the touch in 7/10 cases. In the other 3, it seems like I didn' t touch it at all. There isn't a problem with x and y, because the touches that work, work good. It's about the sensitivity or something like that, I guess. So, is there any way to make the touch more responsive?
Go on. Post a link to the Display that you have bought.
Post a link to the library(s) that you use.
(just quote by name for libraries installed by IDE Library Manager)
David.
Libraries:
Adafruit GFX
Adafruit TFT
Touchscreen
(If it isn't clear enough which of them are, I posted a question yesterday, where I put the entire code)
Link: 2.4'' LCD Shield for Arduino (Red) - Optimus Digital
But the thing is it doesn't really corespond. On the website it says that it works with ILI9341, but the one I got works with 0x8357
You link shows a regular "Mcufriend Uno shield"
I don't think that Adafruit manufacture any Shields with "mcufriend" printed on them.
HX8357 in all variations HX357-A, HX357-B, HX357-C, HX357-D are 320x480 and normally on 3.5 inch TFT panals.
Hint. Your "Mcufriend" shield will return an accurate controller ID via MCUFRIEND_kbv library.
Adafruit_TFTLCD will return an ID from some controllers.
Genuine Adafruit_TFTLCD library supports several controllers. Available via Library Manager.
Hacked Adafruit_TFTCLD might do anything. Please reply with a link to the actual hacked library.
David.
https://www.optimusdigital.ro/ro/index.php?controller=attachment&id_attachment=433
This is the library link from the page from where I bought it.
I tried mcufriend_kbv when I bought the display, but somehow everything was mirrored on display while using it, so I remained at these libraries
Your link shows Adafruit_TFTLCD from 2016. It looks fairly genuine but I have not bothered to look closely.
But the main problem is "what does tft.readID()
return ?"
It certainly should not be 0x8357 for a 2.4 inch Shield.
Remove any existing MCUFRIEND_kbv.
Install MCUFRIEND_kbv via the IDE Library Manager.
Report back with any problems.
I generally get them resolved quickly.
David.
I'm pretty sure it's not genuine, because exactly like you said, its ID for sure isn't 0x8357, but this is the only genuine ID which make the display work from the commented list of IDs from the example to test display. I can't check right now its ID, but I'll come back
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.