Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assign the T_CLK Pin correctly #52

Open
Infraviored opened this issue Apr 24, 2024 · 0 comments
Open

Assign the T_CLK Pin correctly #52

Infraviored opened this issue Apr 24, 2024 · 0 comments

Comments

@Infraviored
Copy link

Not really so much an issue, but i suspect you could help me out instantly. I want to use a Wemos S2 Mini with the Touchscreen.
I am following a guide which says the following Pins must be used for a ESP32:

TFT LCD Touchscreen | ESP32
T_IRQ | GPIO 36
T_OUT | GPIO 39
T_DIN | GPIO 32
T_CS | GPIO 33
T_CLK | GPIO 25
SDO(MISO) | GPIO 16
LED | GPIO 21
SCK | GPIO 14
SDI(MOSI) | GPIO 13
D/C | GPIO 2
RESET | GPIO 12
CS | GPIO 15
GND | GND
VCC | 5V (or 3.3V)*

I can not find all of these Pins on an S2:

T_CLK should be assigned to GPIO25. My research tells me this is ADC2 CH8, DAC1 on a generic ESP32.
I don't know if this pin needs these functionalities.
In the XPT2046_Touchscreen examples, i never saw the Pin definition in the code, which makes me think one can not reconfigure it to a different number.

Can i still use the S2 mini?
many thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant