Giter Club home page Giter Club logo

esp_touchscreen's People

Contributors

dracir9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

esp_touchscreen's Issues

Diffrent 3.5" LCD 480x320 sheilds - look the same

I tried your code with Wemos ESp32 wirring changes as per your image.
My first 2 off LCD's 3.5" 480x320 uno like sheilds worked.
I bought 2 more looked the same but the 4 wire uno pin outs are not the same?
it seems to conflict with TFT_eSPI. As your code works output to Serial port with all TFT_eSPI functions remarked.

It narrowed it down to ix= analogRead(XM); or iy= analogRead(YP); hanging on what ever ADC port I tried, when
TFT_eSPI. is run.
Any ideas?

Text mirrored and not getting a touch input

Hello,

i have some problems in the example file "touch_calib", the test is mirrored and I'm not getting any touch input...

This is my TFT_eSPI user setup pinout:
#define TFT_PARALLEL_8_BIT

// The ESP32 and TFT the pins used for testing are:
#define TFT_CS 33 // Chip select control pin (library pulls permanently low
#define TFT_DC 15 // Data Command control pin - must use a pin in the range 0-31
#define TFT_RST 32 // Reset pin, toggles on startup

#define TFT_WR 4 // Write strobe control pin - must use a pin in the range 0-31
#define TFT_RD 2 // Read strobe control pin

#define TFT_D0 12 // Must use pins in the range 0-31 for the data bus
#define TFT_D1 13 // so a single register write sets/clears all bits.
#define TFT_D2 26 // Pins can be randomly assigned, this does not affect
#define TFT_D3 25 // TFT screen update performance.
#define TFT_D4 17
#define TFT_D5 16
#define TFT_D6 27
#define TFT_D7 14

And this is the config touch_calib file:
...
#define TOUCH_PIN_YP 33
#define TOUCH_PIN_XM 15
#define TOUCH_PIN_YM 13
#define TOUCH_PIN_XP 12
...

Do you have any idea what I could have done wrong?

ESP32-WROOM-32 Wiring

Hi, dracir! Hope you are having a great day!

This is probably the dumbest question ever, but due to my age and a forced lack of proper coffee, my naturally confused little brain is requiring some clarification regarding the wiring of this touchy thing. I do not want to risk ruining my display, which is working just fine on the ESP32, so I figured better ask the person who knows best before trying.

So, this is what I think I've got so far:

YP corresponds to LCD_CS
XM corresponds to LCD_WR
YM corresponds to LCD_RS (LCD_CD in my 2.8" Elegoo tft's silkscreen)
XP corresponds to LCD_RD

Am I correct? Please correct me if I'm not.

Also, I have never owned a Wemos, so your example picture is intriguing me. Why 4 wires? Could you please specify what colors correspond to what GPIO and LCD pin?

Thanks in advance for taking the time, and thank you also for this brilliant idea!

Sam

Compilation Errors

I"am novice for ESP32 and just learning examples. I was not able to compile examples from the library even.
I add the report about errors.

Error.pdf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.