Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation Error – Arduino_ESP32LCD8 not recognized #603

Open
w569111843 opened this issue Jan 9, 2025 · 0 comments
Open

Compilation Error – Arduino_ESP32LCD8 not recognized #603

w569111843 opened this issue Jan 9, 2025 · 0 comments

Comments

@w569111843
Copy link

w569111843 commented Jan 9, 2025

Description

I'm trying to use the Arduino_ESP32LCD8 class from the Arduino_GFX_Library, but I am encountering a compilation error stating that Arduino_ESP32LCD8 is not recognized.

Error Message:

D:\arduino-project\sketch_jan9a\PINS_ESP32-S3-CAM.h:4:28: error: expected type-specifier before 'Arduino_ESP32LCD8'
    4 | Arduino_DataBus *bus = new Arduino_ESP32LCD8(
      |                            ^~~~~~~~~~~~~~~~~

Steps to Reproduce:

  • Include the Arduino_GFX_Library in the sketch.
  • Use the following code to create an Arduino_ESP32LCD8 object:
#include <Arduino_GFX_Library.h>

Arduino_DataBus *bus = new Arduino_ESP32LCD8(
    TFT_DC, 27, 57 /* WR */, 45 /* RD */,
    51 /* D0 */, 50 /* D1 */, 48 /* D2 */, 47 /* D3 */, -1 /* D4 */, -1 /* D5 */, -1 /* D6 */, -1 /* D7 */);
Arduino_GFX *gfx = new Arduino_ST77916(bus, DF_GFX_RST, 0 /* rotation */, false /* IPS */);

  • Compile the sketch.

System Details:

Arduino IDE Version: [e.g., 2.3.4]
Operating System: [e.g., Windows 11]
ESP32 Board: ESP32-S3

@w569111843 w569111843 reopened this Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant