I dread writing embedded GUIs
blog.benjamin-cabe.com
I dread writing embedded GUIs
1–10 of 58 posts
Re: I dread writing embedded GUIs
#2Re: I dread writing embedded GUIs
#3Re: I dread writing embedded GUIs
#4Depends on the kind of embedded you're talking about. On Raspberry PI, Odroid and similar devices Qt works pretty well and it's much less pain than specialized embedded systems and UI libraries.
Re: I dread writing embedded GUIs
#5Re: I dread writing embedded GUIs
#6Re: I dread writing embedded GUIs
#7The nature of embedded with interrupts (e.g. from buttons) and trying to mix in MQTT events and nice multi-layered UI made me completely question my programming abilities.
I really wanted to have modals/pop-ups (e.g. to show current volume on change) and it ended up so messy. Not only it is about control flow but about memory too (as the author mentioned). I couldn't just store a stack of "screens" to fall back to.
I'm watching this library recently: https://github.com/peterhinch/micropython-micro-gui
It seems promising to solve many of the common issues that you get, once you move from simple static information display.
Re: I dread writing embedded GUIs
#8Re: I dread writing embedded GUIs
#9I suppose I'll be the outlier here, but on more powerful devices like Raspberry Pi or other Cortex-based devices, I have had good luck using LispWorks and their CAPI UI library. Plus, Lisp!
Re: I dread writing embedded GUIs
#10For small systems, LVGL address all of these pain points. It works well with small amounts of memory, maintains a responsive, animatable UI that works over slower display interfaces, and is easy to port with only a small amount of driver code needed to get up and running.
Recommend, would use again.