用于微控制器的GUI库 [英] GUI-Library for microcontroller

查看:236
本文介绍了用于微控制器的GUI库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为微控制器创建GUI驱动的应用程序( Atmel XMEGA ),连接到128x64点图形LCD( EA DOGL128-6 )和4个按钮进行导航。



控制显示本身(例如绘制像素和字符)是问题,但按顺序为了防止我重新创造出我正在使用c编写的GUI-Library / -Toolkit,包含其源代码,将在32 MHz 8位微控制器上运行,并至少提供以下控件: / p>


  • 面板(分组元素)

  • 菜单(可滚动)

  • 图标

  • 标签

  • 按钮

  • 线图(可选)



但是我没有发现任何有用的东西。有谁知道(或更好地使用)这样的图书馆(最好是免费的)?

解决方案

我会考虑滚动你自己的立即模式GUI。 Jari Komppa 有一个关于他们的好教程。这比您想象的要容易得多,您可能会发现大多数GUI库 - 即使是面向嵌入式系统的GUI库,对于您的系统来说也是有点重。



如果你坚持使用第三方库,下面是我发现的几个。我从来没有使用任何他们,而且他们可能相当昂贵。




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.

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:

  • panel (to group elements)
  • menu (scrollable)
  • icon
  • label
  • button
  • line-graph (optional)

But I didn't find any thing useful. Does anyone know (or better uses) such a library(preferably for free)?

解决方案

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆