Difference between revisions of "emWin"

From SEGGER Wiki
Jump to: navigation, search
(Features)
Line 1: Line 1:
emWin is an embedded GUI solution that enables the creation of highly efficient, high quality, graphical user interfaces on any embedded system. emWin empowers even resource-constrained microcontroller-based systems to run stunning interactive interfaces. emWin is independent from any target, and display. The requirements for running emWin on an embedded system can be read under [[Requirements for emWin]].
+
emWin is an embedded GUI solution that enables the creation of highly efficient, high quality, graphical user interfaces on any embedded system. emWin empowers even resource-constrained microcontroller-based systems to run stunning interactive interfaces. emWin is independent from any target, and display. For more detailed reference and a function and type index, you should refer to the emWin user manual.
   
 
== Getting started with emWin ==
 
== Getting started with emWin ==
   
=== "Hello world" example ===
+
=== Requirements ===
   
  +
The [[Requirements for emWin|requirements for running emWin]] on an embedded system are minimal, but always depend on how elaborate the final application is.
A "Hello world" program has been used as a starting point for C programming since the early days, because it is essentially the smallest program that can be written. An emWin "Hello world" program is shown below. The program writes "Hello world" into the top left corner of the display.
 
   
  +
=== Requirements for Simulation ===
<source lang="c">
 
  +
#include "GUI.h"
 
  +
To run emWin in the simulation, one of the following IDEs is required.
void MainTask(void) {
 
  +
GUI_Init();
 
  +
* Microsoft Visual Studio 2010 or higher
GUI_DispString("Hello world!");
 
  +
* Codeblocks IDE with MinGW compiler
while(1);
 
}
 
</source>
 
   
 
== Features ==
 
== Features ==
  +
  +
Listed below are emWin's core features. Every feature has its own page that explains the topic and offers examples for a better understanding.
   
 
* Displaying Text & Values
 
* Displaying Text & Values
Line 30: Line 30:
 
* Display Driver
 
* Display Driver
   
== Simulation ==
+
== Examples ==
   
  +
''Main Article:'' [[emWin Examples]]
The [[emWin simulation]] allows the user to compile and run emWin source code in an IDE on a Windows PC. Therefore no hardware is required for debugging an emWin application.
 
   
  +
This wiki offers simple, straight-forward examples that explain and visualize many of emWin's features.
[[File: Simulation.png | 250px | thumb | right | Weather forecast demo in emWin simulation.]]
 
   
 
== Tools ==
 
== Tools ==

Revision as of 18:00, 31 March 2020

emWin is an embedded GUI solution that enables the creation of highly efficient, high quality, graphical user interfaces on any embedded system. emWin empowers even resource-constrained microcontroller-based systems to run stunning interactive interfaces. emWin is independent from any target, and display. For more detailed reference and a function and type index, you should refer to the emWin user manual.

Getting started with emWin

Requirements

The requirements for running emWin on an embedded system are minimal, but always depend on how elaborate the final application is.

Requirements for Simulation

To run emWin in the simulation, one of the following IDEs is required.

  • Microsoft Visual Studio 2010 or higher
  • Codeblocks IDE with MinGW compiler

Features

Listed below are emWin's core features. Every feature has its own page that explains the topic and offers examples for a better understanding.

  • Displaying Text & Values
  • 2D graphic operations
  • Fonts
  • Bitmaps
  • Widgets
  • Window Manager
  • Animations
  • Memory Devices
  • Multi-Buffering
  • Language Support
  • Display Driver

Examples

Main Article: emWin Examples

This wiki offers simple, straight-forward examples that explain and visualize many of emWin's features.

Tools

emWin also comes with many tools the user can utilize to, e.g. create custom emWin fonts, bitmaps or to even create complete applications.

  • AppWizard
  • Bitmap Converter
  • Bin2C
  • emVNC client
  • emWin Movie Player
  • emWinSPY
  • emWinView
  • Font Converter
  • GUIBuilder
  • JPEG2Movie