Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Widget library example 3 for the SAM4S-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 plot widget, a slider, and a button. Pressing the button will add the current slider value as a new plot point in the plot widget, and force a display refresh to plot the new value.

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 Microchip.