Just published today the source code for a musical Metronome made with LVGL Pro.
It has features such as:
- Fine grained BPM adjustment
- Quick BPM adjustment using a scrollable scale
- Tap tempo
- Beats per measure adjustment

Here is a video of it working on Waveshare round display: https://youtu.be/v5GheqYEQ8I?si=GnitFWhpSIku450T
The source code can be found on my GitHub: GitHub - giobauermeister/metronome_ui_lvgl_pro: Musical Metronome made in LVGL Pro with XML and custom C code
4 Likes
File/Directory must be a valid variable name.
I get this error no matter what I try to create do you have a chance to help
Exactly where/when do you get this error?
Hello. In the old v3.0.0 version, I could create a screen, component or page from the side panel by right-clicking, selecting āNew fileā and then āmain.xmlā. However, with the v1.0.0 version, I get the error āFile/directory must be a valid variable nameā. When I create a file called āmain.xmlā in the component folder using my computerās file manager, I can complete all the necessary steps. Iām not sure if the file creation structure has changed or if Iām doing something wrong. Do you have any information about how to resolve this issue?
Hi @SimurgPCB. I see. Probably āmainā is now a reserved word in v1.0.0. Can you try creating the screen file with name for example āscreen_main.xmlā?
@SimurgPCB Are you running on Windows? Indeed we have found that issue on Windows build and it is already fixed internally. This fix should be available when the next release comes out.
I have reported this problem on Github probably close to a week ago. I didnāt get any responses to it. It happens when trying to create a file name using ANY name.
As @kdschlosser mentioned, I encounter this issue whenever It happens when trying to create a file name using ANY name. Windows System and version 1.0.0. However, this issue does not occur in version 0.3.0.
@giobauermeister Is there an expected release date for the new version? The current version does not include YouTube videos or similar source yet. I would like to use your product when designing a commercial one, but I am afraid that, with the new version, I will have to deal with bugs related to these kinds of issues.
@SimurgPCB it should be coming out in the next few days. We try to cover all the bugs and issues as feedback is coming and include them on next releases.
For version 1.0.0 rc2, you can find an example project here: lvgl_editor/examples at master Ā· lvgl/lvgl_editor Ā· GitHub
And other tutorials projects here: lvgl_editor/tutorials at master Ā· lvgl/lvgl_editor Ā· GitHub that includes animation, data binding and a few other subjects.
Youtube videos is something on our radar. We definitely need to create more content about LVGL Pro.
@SimurgPCB
I am thinking that one of the people working on the editor really need to start using Windows. I never understood not using Windows. It does have how much of the market share? Someone over at LVGL should be running Windows and testing things on it.
@kdschlosser We do test LVGL Pro on Windows and we do see the importance of it for companies. Thatās why we have a Windows version along with Linux and MacOS. Bugs can happen in either of the three versions and are addressed as quickly as possible based on feedback such as the one in this post from @SimurgPCB.
But now personally speaking, I never understood using Windows for embedded systems development. Never in my 10+ year career I had to use Windows and neither my colleges used it. Linux was always the choice and covered all projects from embedded Linux to embedded firmware.
@giobauermeister As someone who works in both embedded software and hardware design, I offer R&D services. I am particularly compelled to use Windows due to its prevalence in Turkey, where I live, and because Linux and Mac OS operating systems do not have access to every programme or tool.
Windows is some 73% of the market share with Linux being only 3%. the majority of embedded development is done in Windows. I do not understand why there is always a focus to ensure things compile properly on linux when linux is not what is most often used.
Microsoft has made to easier to deal with this by adding WSL but WSL s a system hog to say the least. 50gb - 100gb of drive space and 3gb - 4 gb of RAM. The ad truth is that most linux flavors are just as bloated and buggy as Windows is. It really does suck. the OSās reliance on the Internet and how much it shares your personal information is batty.
From the 73% of Windows 10% do development, but on Linux 90% of the 3%.
(just my number, no research behind them).
Anyways, we also see that most our users are on Windows which is really a surprise to me.
Iām using Linux Mint which is a popular simple distro providing all the everyday things + development is so much simpler.
Of course if you need to use a SW that works only on Windows or Mac, there isnāt much to do. But usually itās not case for SW development. Actually quite the opposite. There are more tools and SW for Linux.
Anyway, these are the great undecidable questions of our history.
1 Like
That 10% of developers on Windows is a larger number of developers than is on Linux by more than 2 times⦠
1 Like