Giter Club home page Giter Club logo

esp32-and-how-to-use-ili9341-tft-display's Introduction

ESP32-and-how-to-use-ILI9341-TFT-Display

These examples show how to connect/wire an ILI9341 TFT display. If you have a different type of ESP32, then use different pins as required and replciate them in the code prefix.

esp32-and-how-to-use-ili9341-tft-display's People

Contributors

g6ejd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp32-and-how-to-use-ili9341-tft-display's Issues

Display fails when attempting to read from an SD card

The problem occurs every time the an SD function is executed after tft.begin();
I've checked the SPI clock speeds to see they where different, which their was a huge difference...
[SD card : 4,000,000] [ili9341: 40,000,000] both default values set on the .CPP files.
When attempting to increase the SD card speed, it made it impossible to start the sd card.
When lowering the clock speed on ili9341, the display worked but as only slow.
Still after setting equal clock speeds the error persists.

void setup() {

  Serial.begin(115200); 
  tft.begin();            //Initiate object Screen
  tft.fillScreen(ILI9341_RED);               //The diplay successfully works at this point
  yield();
  delay(1500);

    Serial.print("Initializing SD card...");
  if (!SD.begin(15)) {              //ili9341 screen turns white and wont respond anymore until it resets...
    Serial.println("Initialization Failed");
  }
  Serial.println("initialization done.");  //SD CARD still works and the SD card keeps working flawlessly
  tft.fillScreen(ILI9341_RED); //ili9341 screen does not respond 
  yield();
  delay(1500);
}

Library HSPI

Hi, I've tested this code running ok on an ESP32 board with an ILI9341 LCD Display. But now I want to add SD card to it, so I need to use software SPI to control the LCD and SPI to Read from SD card. But, the software SPI is to slow. So, do you have some solution? Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.