-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
using ili9488 #12
Comments
There are a large list of reasons why this may not work:
|
Hi Larry, Thanks for your answer, I am using ESP32 WROOM module and use this one for many year already, I confirm with exactly same setup for IO with other library and it works SPI speed is given in the other library (TFT_eSPI library) to 27000000 I should have that ILI9341 in some old stock, I will check with your original code to confirm tmr |
Hi Larry, Today I get a fresh new ILI9341 from my stock and test it with the other library on same board to confirm all pin setup I just change those in your original example but only succeed to light the screen Here is my MOD // Use a zip file in memory for this test void setup() { void loop() { spilcdFill(&lcd, 0, DRAW_TO_LCD); // Erase the display to black Serial give : Global comment: 32x32 icon collection in Windows BMP format |
What other library are you testing with? Can you show that demo code? Can you share a photo of your display and setuup? Start simpler - get rid of everything except the display initialization. Clear it to a specific color and draw some text. |
Hello Larry, I finally succed to run your sketch on ILI9341 giving all the pin like this // // Use a zip file in memory for this test void setup() { void loop() { spilcdFill(&lcd, 0, DRAW_TO_LCD); // Erase the display to black BUT if I change to ILI9488 spilcdInit(&lcd, LCD_ILI9488, FLAGS_NONE, 40000000, TFT_CS, TFT_DC, TFT_RST, TFT_BL, TFT_MISO, TFT_MOSI, TFT_CLK); it just start illuminate background but didn't display anything |
Hi,
I wanna to use your example but change to ILI9488 LCD
I try this very simple code but didn't display anything ???
//
// ZIP library example sketch
//
// Written by Larry Bank
// June 9, 2021
//
// This example shows how to do the following:
// - Step through all of the files in a ZIP archive
// - Display the name of each file
// - Allocate a buffer for the uncompressed file size
// - Read (decompress) the data into the buffer
// - Display the results (in this case a BMP file) on the SPI LCD
//
#include <unzipLIB.h>
#include <bb_spi_lcd.h>
// Set these to the appropriate values for your SPI LCD display
// -1 means the pin is not connected
#define TFT_MISO 39
#define TFT_CS 4
#define TFT_RST 26
#define TFT_DC 25
#define TFT_CLK 18
#define TFT_MOSI 23
#define TFT_BL 13
// Use a zip file in memory for this test
#include "bmp_icons.h"
UNZIP zip; // Statically allocate the 41K UNZIP class/structure
SPILCD lcd; // my display library
void setup()
{
Serial.begin(115200);
delay(1000); // give Serial a little time to start
spilcdInit(&lcd, LCD_ILI9488, FLAGS_NONE, 40000000, TFT_CS, TFT_DC, TFT_RST, TFT_BL, TFT_MISO, TFT_MOSI, TFT_CLK);
spilcdSetOrientation(&lcd, LCD_ORIENTATION_90); // for the ILI it's nice to use it in landscape orientation
}
void loop()
{
int rc, x, y;
char szComment[256], szName[256];
unz_file_info fi;
uint8_t *ucBitmap; // temp storage for each icon bitmap
//spilcdFill(&lcd, 0, DRAW_TO_LCD); // Erase the display to black
spilcdWriteString(&lcd, 0, 0, (char *)"Unzip BMP Files Test", 0xffff, 0, FONT_12x16, DRAW_TO_LCD); // white text on a black background
delay(5000); // Allow time to see it happen
// }
// while (1) {};
}
Backlight start but nothing appear on screen! why ?
The text was updated successfully, but these errors were encountered: