Skip to content

WT32-SC01 #173

Closed Answered by EdwinNoorlander
EdwinNoorlander asked this question in Q&A
Discussion options

You must be logged in to vote

#define TFT_MISO 12
#define TFT_MOSI 13
#define TFT_SCLK 14
#define TFT_CS 15
#define TFT_DC 21
#define TFT_RST 22
#define TFT_BL 23
#define GFX_BL TFT_BL

Arduino_DataBus bus = new Arduino_ESP32SPI(TFT_DC / DC /, TFT_CS / CS /, TFT_SCLK / SCK /, TFT_MOSI / MOSI /, TFT_MISO / MISO /, VSPI / spi_num */);
Arduino_GFX gfx = new Arduino_ST7796(bus, TFT_RST, 0 / rotation /, false / IPS */);

I have it working.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by EdwinNoorlander
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant