moononournation / Arduino_GFX

Arduino GFX developing for various color displays and various data bus interfaces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No image display from flash or SD (esp32S3-8048S070)

digitongithub opened this issue · comments

I have a 7 inch display (esp32S3-8048S070), but I can't seem to show images from the flash or SD card on the display. I have the same display with LCD code and everything works there.
A listing of the SD card or flash just works and I see all the images
A standard Bitmap created with the code does work.
I'm trying to make a weather station with gfx code and then I want to leave the icons (bmp)

Have also tried the ImgViewerBmp program, but it also gives error messages.
(E:\Arduino\ImgViewerBmp\ImgViewerBmp.ino:111:18: error: could not convert 'gfx->Arduino_GFX::begin(-1)' from 'void' to 'bool')

I think you have multiple gfx folders in Arduino libraries. You may try delete all gfx folders and install the library again.

I did, but I'm looking for a gfx code with which I can present the images from the flash or SD card on the display. For Tft an LCD everything works on other display, but not on this Gfx display.

Many terms in your message is implicited other things, can clarify what you actually want to say?

This with 7 inch display
Image in flash and placed in SD

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x2a (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x4bc
load:0x403c9700,len:0xbd8
load:0x403cc700,len:0x2a0c
entry 0x403c98d0
Arduino_GFX BMP Image Viewer example
E (449) esp_littlefs: ./components/esp_littlefs/src/littlefs/lfs.c:1367:error: Corrupted dir pair at {0x0, 0x1}

E (449) esp_littlefs: mount failed, (-84)
E (452) esp_littlefs: Failed to initialize LittleFS
ERROR: File System Mount Failed!

And no image on display

you not yet upload the littlefs files?

I have all the images in the flash and on the SD card. When I use another program I also see the image in the flash and also on the SD card. But can't show these images on the display with any code.