Comments (4)
Ok, the error is sitting in front of the keyboard...
static lv_obj_t *slider_volume;
lv_obj_t * slider_volume = lv_slider_create(lv_scr_act());
i declared the object twice
from lvgl.
I upgraded to 9.1 but same problem
PC: 0x400e9f17: lv_bar_set_value at E:\workdir\arduino\preamplifier\arduino-1.8.19\portable\sketchbook\libraries\lvgl\src\widgets\bar\lv_bar.c line 96
EXCVADDR: 0x0000002c
Decoding stack results
0x400e9f14: lv_bar_set_value at E:\workdir\arduino\preamplifier\arduino-1.8.19\portable\sketchbook\libraries\lvgl\src\widgets\bar\lv_bar.c line 92
0x400d1a81: loop() at e:\workdir\arduino\preamplifier\arduino-1.8.19\portable\sketchbook\libraries\lvgl\src/widgets/slider/lv_slider.h line 79
0x400f9a79: loopTask(void*) at E:\workdir\arduino\preamplifier\arduino-1.8.19\portable\packages\esp32\hardware\esp32\2.0.11\cores\esp32\main.cpp line 50
from lvgl.
Can you add this at the beginning of lv_bar_set_value()
?
printf("%p\n", obj); //Or an equivalent print functions
from lvgl.
i get 0x0
So no object?
Funny thing is...if i set the value somewhere else like while i setup the screens it does not crash and i get 0x3ffc50f4
In fact i get this number 0x3ffc50f4 probably when the slider is first drawn, then again when i set the value where i build the screen and thirdly when i set the value at the point it crashes.
I can use the slider, everything else seems to work, i just cant set the value. Bar set is not called when i move the slider.
from lvgl.
Related Issues (20)
- More color depths HOT 3
- 9.1 Input Device Documentation HOT 6
- macOS buiold failure
- LVGL Integration strategy for Zephyr HOT 5
- Better sync between LVGL and Zephyr for runtime hw rotation HOT 2
- Animation and keyboard input conflict
- Setting system time under Linux affects ticks HOT 3
- screen refresh rate is very low HOT 5
- Problem with lv_demo_widgets demo(Instrument panel) after porting code to hardware HOT 1
- Button Matrix cannot be removed from lv_conf.h HOT 1
- Tiny TTF causes crash in certain situations HOT 1
- Tiny TTF should be caching stbtt_FindGlyphIndex HOT 26
- Line 11 of src/libs/tiny_ttf.c declared incorrectly HOT 4
- Docs build break HOT 1
- 8.4/9.1 Hardware based display rotation input devices HOT 6
- LV_COLOR_16_SWAP removal and performance HOT 2
- About the Release Date of New Versions HOT 2
- Slider Indicator Bigger Image Replacement on Press Event HOT 1
- "Does the lv_fs_dir_open function support opening directories with Chinese paths?" HOT 2
- ESP32 SPIFFS HOT 4
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 lvgl.