Git Product home page Git Product logo

Comments (4)

Jay-esp avatar Jay-esp commented on July 20, 2024 1

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.

Jay-esp avatar Jay-esp commented on July 20, 2024

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.

kisvegabor avatar kisvegabor commented on July 20, 2024

Can you add this at the beginning of lv_bar_set_value()?

printf("%p\n", obj); //Or an equivalent print functions

from lvgl.

Jay-esp avatar Jay-esp commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.