This example demonstrates how to use the common IOPORT service for pin control.
The common IOPORT service is described in Common IOPORT API section.
All Atmel SAM, MEGA, XMEGA and UC3 devices can be used. This example has been tested with the following setup:
This example flashes a single LEDs present with flash speed of 1Hz.
Additionally a pin input can inspected from a debug session.
This software was written for the GNU GCC and IAR for SAM and AVR. Other compilers may or may not work.
For further information, visit Microchip.
Support and FAQ: https://www.microchip.com/support/