Skip to content

Getting GPIO Error #127

Description

@IBakeCookies

When I try to upload I get this error

In file included from c:\Users\****\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.h:48,
                 from c:\Users\****\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:17:
c:\Users\****\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32.c: In function 'void dc_callback(spi_transaction_t*)':
c:\Users\****\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32.h:115:22: error: 'GPIO' was not declared in this scope
  115 |         #define DC_D GPIO.out_w1ts = (1 << TFT_DC)//;GPIO.out_w1ts = (1 << TFT_DC)
      |    

in User_Setup.h I have
#define ILI9341_DRIVER

in User_Setup_Select.h I have
#include <User_Setups/Setup25_TTGO_T_Display.h> // Setup file for ESP32 and TTGO T-Display ST7789V SPI bus TFT

Also for some reason the FactoryTest directory does exist, but Arduino never sees it

I tried looking around and using other setups, which will make the device work, but not the screen...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions