Skip to content

Nothing Rendering - Waveshare ESP32-C6-DEV-KIT-N8 With Adafruit 2.0" 320x240 Color IPS TFT #797

@jamsoft

Description

@jamsoft

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions