Atmel Software Framework

Widget library example 2 for the XMEGA-A3BU XPLAINED Documentation

Introduction

This example will create a simple touch-enabled GUI on the display of the mXT143E Xplained, using the Widget Toolkit.

Main files:

Widget library API

The widget library API can be found here, while the graphics service API can be found here. The maXTouch API can be found here.

Device Info

This example has been tested with the mXT143E Xplained on the following kits:

  • UC3-A3 Xplained
  • UC3-L0 Xplained
  • XMEGA-A1 Xplained
  • XMEGA-B1 Xplained
  • XMEGA-A3BU Xplained
  • SAM4S Xplained

Description of the example

On startup the example application will create a three icon button widgets, three soft button widgets and a text label. When an icon in the icon button group is touched, the label widget will be updated to reflect the selected icon. The soft buttons can be used to select and activate an icon button widget, simulating icon button navigation without the use of direct pointer or touch input on the icon widgets themselves.

Dependencies

Relevant module dependencies for this application are:

Compilation Info

This software was written for the GNU GCC and IAR for AVR. Other compilers may or may not work.

Contact Information

For further information, visit Atmel.