I'm trying to get this library working with these devices.
I've setup the pins here:
#elif defined(ESP32) && (CONFIG_IDF_TARGET_ESP32C6)
#define TFT_CS 7 // GFX_NOT_DEFINED for display without CS pin
#define TFT_DC 6 // GFX_NOT_DEFINED for display without DC pin (9-bit SPI)
#define TFT_RST 8
#define GFX_BL -1
And I've set the display:
Arduino_G *output_display = new Arduino_ST7789(bus, TFT_RST, 0 /* rotation */, true /* IPS */);
Arduino_GFX *gfx = new Arduino_Canvas(240 /* width */, 320 /* height */, output_display);
Databus is setup like:
#elif defined(ESP32) && (CONFIG_IDF_TARGET_ESP32C6)
Arduino_DataBus *bus = new Arduino_ESP32SPI(TFT_DC, TFT_CS, 21 /* SCK */, 19 /* MOSI */, 20 /* MISO */, FSPI /* spi_num */);
But I still don't get any output. How can I get it working with these devices?
I'm trying to get this library working with these devices.
I've setup the pins here:
And I've set the display:
Databus is setup like:
But I still don't get any output. How can I get it working with these devices?