This repository contains examples of the MCC generated source code for General Purpose Input/Output (GPIO), as described in the TB3229 - Getting Started with General Purpose Input/Output (GPIO) document from Microchip. The repository contains three MPLAB X projects:
- Blink an LED: Shows how to toggle a pin connected to an LED
- Long and Short Button Press: Uses a pin as input to distinguish between a long and short button press, defined by a delay threshold
- Wake-up on Button Press: Demonstrates the usage of interrupts and Sleep mode
More details and code examples for the AVR128DA48:
- TB3229 - Getting Started with General Purpose Input/Output (GPIO)
- AVR128DA48 Product Page
- AVR128DA48 Code Examples on GitHub
- AVR128DA48 Project Examples in START
- MPLAB® X IDE v6.10 or newer
- MPLAB XC8 v2.41 or newer
- AVR®-Dx Series Device Pack v2.3.272 or newer
- MPLAB Code Configurator v5.3.7 or newer
- MPLAB Code Configurator Melody v2.5.0 or newer
- AVR Devices Library v4.7.0 or newer
- Content Manager v4.2.6 or newer
- AVR128DA48 Curiosity Nano (DM164151)