Comments (6)
@BlynkGO
If it is working correctly with LolinD32Pro, it is unlikely to be a hardware failure or a library failure.
As far as the symptoms are concerned, it is always misidentified as being touched.
Perhaps it is not receiving data from XPT2046.
First, check the wiring.
touch.spi_cs = 27;
static constexpr int spi_miso = 19;
I can't verify that this matches the actual connection.
You may want to try using a different GPIO just to be sure.
from lovyangfx.
pinout numbering differs between ESP32-Wrover and ESP32-Wroom, it's very likely the Touch config needs to be changed
from lovyangfx.
@BlynkGO
Hmmm, there is no cause I can think of right now.
The superficial appearance of the phenomenon means that it is always misinterpreted as being touched, but we need more in-depth information.
If you have an oscilloscope, observing the waveform might tell you something.
I can't reproduce the phenomenon with what I have, so I'm relying on your debugging.
from lovyangfx.
@lovyan03 @tobozo
Thanks for the reply and guidance.
When I tested hareware DOIT Devkit + TFT 3.5 by TFT_eSPI library
that configed the same pins (18,19,23,27) as the code tested by LovyanGFX library, it is working correctly.
[Touch is fine on TFT_eSPI]
https://streamable.com/hpmzue
For me , LovyanGFX is better than TFT_eSPI,
I would like to use LovyanGFX .
The issue about lovyangfx's touch interface for DOIT Devkit maybe occurs from GPIO19 signal in library?
from lovyangfx.
Thank you very much.
I have tried to understand the LovyanGFX's touch in library code,
but I don't know how to fix.
At this point I backward to another method that
send spi_t _spi_handle[spi_host]
to outside
from LovyanGFX' spi system
and create another touch library.
Now it can work.
However I feel satisfied to use the original of LovyanGFX' touch
more than this way.
If the issue can know cause and is resolved,
please update for this issue.
Arigato gozaimasu.
from lovyangfx.
closing this issue as solved, feel free to reopen if needed
from lovyangfx.
Related Issues (20)
- Color Inversion Not Working Correctly with ST7789 Display. HOT 2
- build error with cross-compiler when using SDL2 HOT 6
- Add M5Stack_Fire HOT 1
- Support for ESP32-S3-Box v3 HOT 35
- Screen tearing when using a Makerfabs Matouch 4.0" 480x480 parallel LCD screen HOT 7
- Support ST7701s IPS TFT 5 inch 854x480 RGB+SPI With ESP32-S3 HOT 15
- ST7789 cannot get it to work HOT 3
- tft.getTouch(&touchX, &touchY); freeze loop() HOT 3
- Support for 4.3" RGB Interface HOT 4
- Shimering effect with SSD1963 HOT 17
- Define Panels with multiple Touch input device HOT 6
- Support for panel-controlled backlights HOT 8
- Add smooth arc function HOT 6
- RA8875 with Adafruit Display does not work HOT 1
- drawArc lovyanGFX not the same as drawArc TFT_Espi HOT 4
- Issues rewriting text with color & background = TFT_BLACK HOT 2
- i2c read timeout error with CST816T HOT 3
- ILI9341 shows me mirrored? HOT 7
- "fillGradientRect" not reacting on y-koordinate using "VLINEAR" HOT 5
- ''Syntax Error Unexpected token'' error on various .c.o files in Font folder HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lovyangfx.