ESP32 + 3.5' TFT LCD Panel OpenSmart
Posted: Sun Jun 20, 2021 3:20 pm
Hi,
I'm trying to connect an OpenSmart TFT LCD Panel (HX8357) to an ESP32 38 Pins (ESP32-D0WDQ6 Rev 1). When I use an Arduino, everything works fine (although slow and that is why I'm trying with an ESP32). The problem starts when I try to compile the program and it gives me an error avr/io.h not found.
I copied the avr library from the Arduino Library and now it shows me errors about things not declared on scope. I don't understand why as those are declared with #define CS_PIN 3.
The library that it is throwing errors is mcufriend inside the OPENSMART_TFT folder.
How can I make this work?
I've added 3 attachments:
I'm trying to connect an OpenSmart TFT LCD Panel (HX8357) to an ESP32 38 Pins (ESP32-D0WDQ6 Rev 1). When I use an Arduino, everything works fine (although slow and that is why I'm trying with an ESP32). The problem starts when I try to compile the program and it gives me an error avr/io.h not found.
I copied the avr library from the Arduino Library and now it shows me errors about things not declared on scope. I don't understand why as those are declared with #define CS_PIN 3.
The library that it is throwing errors is mcufriend inside the OPENSMART_TFT folder.
How can I make this work?
I've added 3 attachments:
- Schematics
- ino file with the code,
- Libraries