Microchip® Advanced Software Framework

MEGA LED Example

Overview:

Introduction

This application demonstrates a simple example turn on and off the board LED.

This application has been tested on following boards:

  • ATmega328p Xplained Mini
  • ATmega328pb Xplained Mini
  • ATmega168pb Xplained Mini
  • ATmega324pb Xplained PRO

Usage

The application uses button to control the LED, once the button is pressed, LED0 will turn on once the button is released, LED0 will turn off

Compilation Info

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

Contact Information

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

Overview:

Introduction

This application remorse your input and output it through usart.

This application has been tested on following boards:

  • ATmega328p Xplained Mini
  • ATmega328pb Xplained Mini
  • ATmega168pb Xplained Mini
  • ATmega324pb Xplained Pro

Usage

The application uses usart to receive input and output remorse result, once you input through usart, remorse result will output though usart, if you press the button more than 4s, remorse will restart, led will blink in remorse.

Compilation Info

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

Contact Information

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