微控制器的 GUI 库 [英] GUI-Library for microcontroller
问题描述
我想为微控制器创建一个 GUI 驱动的应用程序 (Atmel XMEGA) 连接到 128x64 点图形 LCD (EA DOGL128-6) 和 4 个导航按钮.
I want to create a GUI driven application for a micro-controller (Atmel XMEGA) that is connected to a 128x64 dots graphics LCD (EA DOGL128-6) and 4 buttons for navigation.
控制显示器本身(例如绘制像素和字符)是没有问题,但为了防止我重新发明轮子,我在谷歌上搜索用 c 编写的 GUI-Library/-Toolkit,包括其源代码,将在 32 MHz 8 位微控制器上运行,并至少提供以下控件:
Controlling the display itself (e.g. drawing pixels and characters) is no problem but in order to prevent me from reinventing the wheel I was googling for a GUI-Library/-Toolkit that is written in c, includes its source code, will run on a 32 MHz 8-bit micro-controller and provides at least the following controls:
- 面板(对元素进行分组)
- 菜单(可滚动)
- 图标
- 标签
- 按钮
- 折线图(可选)
但我没有发现任何有用的东西.有谁知道(或更好地使用)这样的图书馆(最好是免费的)?
But I didn't find any thing useful. Does anyone know (or better uses) such a library(preferably for free)?
推荐答案
我会考虑推出你自己的即时模式"GUI.Jari Komppa 有一个 关于它们的好教程.它比您想象的要容易得多,而且您可能会发现大多数 GUI 库(即使是那些针对嵌入式系统的库)对您的系统来说有点重.
I would consider rolling your own "immediate mode" GUI. Jari Komppa has a good tutorial about them. It's a lot easier than you may think, and you'll probably find most GUI libraries--even those targeting embedded systems--are a bit heavy-weight for your system.
如果你坚持使用第三方库,下面是我找到的一些.我从来没有用过它们,它们可能相当昂贵.
If you insist on using a third-party library, below are a few I found. I've never used any of them and they are probably fairly expensive.
这篇关于微控制器的 GUI 库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!