Skip to content

If you want to add a badass volume control #15

@kdschlosser

Description

@kdschlosser

https://github.com/kdschlosser/mp_lvgl_widgets/blob/main/mp_lv_widgets/knob_ctrl.py

That code is written for LVGL 9.0 so it would need to be updated to work with 9.4. specifically the canvas widget portions. I am sure there will need to be some other things that need to be adjusted as well.

You can speed things up if you use the native code emitter in MicroPython around some of the math functions that get called a lot. I did cache as much as possible.

This is what the knob looks like...

https://www.youtube.com/watch?v=3Knze9cjU-0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions