Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Qtouch Example

Purpose

The Qtouch example demonstrates how to use the Qtouch on the SAM EK boards.

Requirements

This package can be used with SAM EK boards on which there is Qtouch keys or a slider.

Description

This application will configure the silder bar and Qtouch keys on the SAM EK boards.

Whenever touching the keys or the silder, the value will be output the debug terminal.

Usage

-# Build the program and download it into the evaluation board. Please
   refer to the
   <a href="http://ww1.microchip.com/downloads/en/appnotes/atmel-42438-sam-ba-overview-and-customization-process_applicationnote_at09423.pdf">
   SAM-BA User Guide</a>, the
   <a href="http://ww1.microchip.com/downloads/en/appnotes/doc6310.pdf">
   GNU-Based Software Development</a>
   application note or the
   <a href="http://www.iar.com/website1/1.0.1.0/78/1/">
   IAR EWARM User and reference guides</a>,
   depending on the solutions that users choose.
-# On the computer, open and configure a terminal application
   (e.g., HyperTerminal on Microsoft Windows) with these settings:
  - 115200 bauds
  - 8 bits of data
  - No parity
  - 1 stop bit
  - No flow control
-# In the terminal window, the
   following text should appear (values depend on the board and the chip used):
-- QTouch Project--
-- xxxxxx-xx
-- Compiled: xxx xx xxxx xx:xx:xx --
supports xxxxxxx
Maximum number of Rotors/Sliders xxxxx
Version xxxx
  1. The application will output the Qtouch value when touching the slider or the key on the EK boards.