Its failing to compile on my machine. its throwing a lot of errors in the TFT_eSPI library

```cpp

Arduino/libraries/TFT_eSPI/Processors/TFT_eSPI_ESP32.h:114:22: error: 'GPIO' was not declared in this scope

114 | #define DC_C GPIO.out_w1tc = (1 << TFT_DC)//;GPIO.out_w1tc = (1 << TFT_DC)

```

Reply to this note

Please Login to reply.

Discussion

Yeah, it’s not down to my code it’s down to the library. In boards manager make sure esp32 has a v2 installed (I use 2.0.11) as the v3 branch breaks things.

Latest v2 (2.0.17) also works, just tested it.

Its working now. I was using v3 and figured the newest version is best

I did the same thing when I compiled the original code 🤣 Let me know what you think.