GUI库微控制器 [英] GUI-Library for microcontroller
问题描述
我想创建一个图形用户界面微控制器驱动的应用程序(爱特梅尔XMEGA )被连接到一个128×64点图形的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.
控制显示器本身(如绘制像素和字符)的否的问题,但以prevent我从重新发明轮子,我使用Google的一个GUI库/ -Toolkit即用C语言编写,包括它的源$ C $ C,将一个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:
- 面板(以族元素)
- 菜单(滚动)
- 图标
- 标签
- 按钮
- 线图(可选)
但我没有发现任何有用的东西。有谁知道(或更好的用途)这样的库(preferably免费)?
But I didn't find any thing useful. Does anyone know (or better uses) such a library(preferably for free)?
推荐答案
我会考虑滚动自己的直接模式GUI。 杰瑞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.
- emWin
- C/PEG
- easyGUI
这篇关于GUI库微控制器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!