g6ejd / esp32-and-how-to-use-ili9341-tft-display Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
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);
}
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.