Devlog #19
I’m back after my first week of school after the holidays :)
The newest update is that I implemented rendering for the icons you select in the desktop software. The mechanism behind it wasn’t easy, but here’s my final implementation:
Each button’s icon arrives over BLE as a base64-encoded bitmap in the JSON config. renderIcon() decodes it and hands it off to changeIcon(), which builds an lv_image_dsc_t and assigns it via lv_image_set_src() to that button’s LVGL image widget or blanks it out if no icon string was provided.
I also fixed some things in the Desktop software :)
The next step, is making the config persistent on the ESP
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.