Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
SAM4S-Xplained QTouch and LED demonstration

Purpose

The QTouch LED demo will help new users get familiar with Atmel's SAM family of microcontrollers. This basic application shows how to initialize the QTouch library and flash the LEDs by setting the timer counter frequency through the QTouch slider.

Requirements

This package can be used with SAM4S-Xplained evaluation kits.

Description

The demonstration program makes two LEDs on the board blink at a specific rate. This rate is generated by using Time tick timer. The frequency of the Time tick can be adjusted by the QTouch slider.

Usage

  1. Build the program and download it inside the evaluation board.
  2. Start the application.
  3. Two LEDs should start blinking on the board.
  4. Press and release the QTouch slider will set the LEDs blinking at a different frequency.