Graphics library for NodeMCU (ESP8266), ESP32 and serial+parallel TFT displays

afox:
sorrry I am new to this....I am using a st7735 display and a nodemcu esp32

You need to use numeric numbers for the I/O pins with an ESP32, for example use:

#define TFT_MISO 19
#define TFT_MOSI 23
#define TFT_SCLK 18
#define TFT_CS 15 // Chip select control pin
#define TFT_DC 2 // Data Command control pin
#define TFT_RST 4 // Reset pin (could connect to RST pin)

On an ESP32 the hardware SPI port can be mapped to almost any pin, but those are the ones I use and work fine.