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

Which ESP32' pin for TFT ? #6

Open
TridentTD opened this issue Oct 21, 2018 · 5 comments
Open

Which ESP32' pin for TFT ? #6

TridentTD opened this issue Oct 21, 2018 · 5 comments

Comments

@TridentTD
Copy link

TridentTD commented Oct 21, 2018

I want to know the pins for TTGO-TM-ESP32's TFT .

PIN_MISO ??? // SPI MISO
PIN_MOSI ??? // SPI MOSI
PIN_CLK ??? // SPI CLOCK pin
PIN_CS ??? // Display CS pin
PIN_DC ??? // Display command/data pin
PIN_RESET ??? // Reset Pin

Thank you.

@bishibashiB
Copy link

These did a job for me (->TFT control; not sound/SD)
PIN_NUM_MISO 0 // SPI MISO
PIN_NUM_MOSI 23 // SPI MOSI / SDA
PIN_NUM_CLK 18 // SPI CLOCK pin
PIN_NUM_CS 05 // Display CS pin
PIN_NUM_DC 16 // Display command/data pin / RS
PIN_NUM_TCS 0 // Touch screen CS pin
PIN_NUM_RST 17 // GPIO used for RESET control
PIN_NUM_BCKL 0 // GPIO used for backlight control

@TridentTD
Copy link
Author

@Jekyll555 Thank you.

Can this board be controled the blacklight for turning on / turning off ?

@bishibashiB
Copy link

HI @TridentTD , As you might have found there is no PIN to control the backlight mentioned. Possibly there is a way to switch the backlight via writing/setting certain control registers... frankly I have no experience on which common drivers (ILI9341) support this (in which way)...
The reason I put the pin about backlight in the example above: it's there as a default PIN definition in a few libs like ESP32_TFT_library.

@TridentTD
Copy link
Author

@JekyII555
Thank you.

@jwktje
Copy link

jwktje commented Mar 17, 2021

Stumbling upon this years later. Did any of you find out if the backlight can be turned off?

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

3 participants