Microchip® Advanced Software Framework

SAM LED Toggle Example

Overview:

Introduction

This application demonstrates a simple example to toggle the board LED.

This application has been tested on following boards:

  • SAM D20/D21/R21/D11/L21/L22/R30/R34 Xplained Pro
  • SAM D10 Xplained Mini
  • SAMR21ZLL-EK

Usage

The application uses system timer to generate periodic interrupts, once the interrupt occurs, LED0 will toggle.

Compilation Info

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

Contact Information

For further information, visit http://www.microchip.com.