Comments (9)
Emmmm, That is my personal problem!!!!! I am so sorry!!! I find i need VSPI
but transfered HSPI
which had used by LVGL...
Thank you answer again!!!
from lv_lib_png.
Can you update to the latest lvgl version? A few weeks ago we have merged the png and file system library to lvgl to make them work better together. See https://docs.lvgl.io/master/libs/png.html
from lv_lib_png.
Can you update to the latest lvgl version? A few weeks ago we have merged the png and file system library to lvgl to make them work better together. See https://docs.lvgl.io/master/libs/png.html
emm. I try LVGL8.1.0 on ESP32 with arduino, I init the SPI.h and SD.h
in fs_init()
function, but it warn me [E][sd_diskio.cpp:123] sdSelectCard(): Select Failed"
.
So LVGL file system can not work in lvgl8.1.0 well. But LVGL8.0.2 work good(lv_lib_png can not work).
So, I think the logic changed possibly which is using Fatfs
System?
from lv_lib_png.
In v8.1 you can enable the file system APIs too from lv_conf.h. So you don't need lv_fs_if.
from lv_lib_png.
Yes, I know. I meant I had used the file system APIs from lv_conf.h in LVGL8.1. But it not work.
lv_fs_if can work in LVGL8.0.2.
from lv_lib_png.
How do you mean "not work"? What happens exactly?
Some questions to see what could be the problem:
- Can you just open a txt file read and close it with
lv_fs_...
API? If not please send a code to reproduce the issue. - How does the related part of
lv_conf.h
look like? - What platform/hardware do you use?
from lv_lib_png.
I am having this weird problem with SD card. I am using M5 Core 2 and lv_Arduino library for lvgl graphics. My SD card is initialized properly and i can read the files. The problem occurs when i read the list the files using lvgl more than couple of times. I can see that if i keep my touch enabled on any lvgl object for long time, it troubles with my SD card module and i get this error "sdSelectCard(): Select Failed".
For example, if i keep my touch on any list for long time but do not select any option, and then try to access my Sd card. i get the above error.
One more clarification i need is, if i use
lv_obj_t *win = lv_win_create(lv_scr_act(), NULL)
Will this create an issue? and on closing the window, is it automatically destroyed?
from lv_lib_png.
I am having this weird problem with SD card. I am using M5 Core 2 and lv_Arduino library for lvgl graphics. My SD card is initialized properly and i can read the files. The problem occurs when i read the list the files using lvgl more than couple of times. I can see that if i keep my touch enabled on any lvgl object for long time, it troubles with my SD card module and i get this error "sdSelectCard(): Select Failed". For example, if i keep my touch on any list for long time but do not select any option, and then try to access my Sd card. i get the above error.
One more clarification i need is, if i use
lv_obj_t *win = lv_win_create(lv_scr_act(), NULL)
Will this create an issue? and on closing the window, is it automatically destroyed?
The img show normally When you use the <IMG_NAME>.bin
?
Your No.2 question I do not know. But I recommand you to delete it manually.
from lv_lib_png.
I am having this weird problem with SD card. I am using M5 Core 2 and lv_Arduino library for lvgl graphics. My SD card is initialized properly and i can read the files. The problem occurs when i read the list the files using lvgl more than couple of times. I can see that if i keep my touch enabled on any lvgl object for long time, it troubles with my SD card module and i get this error "sdSelectCard(): Select Failed". For example, if i keep my touch on any list for long time but do not select any option, and then try to access my Sd card. i get the above error.
One more clarification i need is, if i uselv_obj_t *win = lv_win_create(lv_scr_act(), NULL)
Will this create an issue? and on closing the window, is it automatically destroyed?The img show normally When you use the
<IMG_NAME>.bin
?Your No.2 question I do not know. But I recommand you to delete it manually.
I read more about it. It seems the issue is related to SPI bus shared by SD card module and display on M5stack core 2.
from lv_lib_png.
Related Issues (20)
- Problem when using canvas on top of png HOT 4
- Some problems with imgbtn HOT 2
- bug with LODEPNG_COMPILE_ALLOCATORS option HOT 6
- how to enhance decoder's performance ? HOT 2
- PNG test on lv_port_stm32f429_disco HOT 9
- PNG photo 8 bitcolor someting wrong HOT 2
- memory allocation failed HOT 15
- png image not displayed properly HOT 3
- error: conflicting types for 'decoder_info' HOT 10
- invalid ADLER32 while drawing image HOT 13
- image with alpha channel is broken HOT 12
- Png picture distortion HOT 5
- free memory HOT 6
- How to enable key color when displaying PNG HOT 4
- how to make the background of image button to be transparent? HOT 2
- can't display the png img in vs2019 simulator HOT 2
- Lv_lib_png showing white rectangle HOT 11
- Does APNG support? HOT 4
- Load PNG from variable HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lv_lib_png.