4.2 Downloading the Example Code
Once a device and development tool have been selected, example code can be found at MPLAB Discover.
Filter for examples:
- Under Name, enter getting started with gpio.
- Under Device, enter avr128da48.
For this tutorial, select Getting Started with GPIO (General Purpose Input/Output) by clicking on the name (see figure below).
![](GUID-5061AB1A-4AED-4B11-8407-1E7A1053D4F9-high.png)
The page that opens contains information about the example code (see figure below). There is a link to a Technical Brief (TB3229) as well. To download all example code, click the Download button in the top right. A zip file containing the code will download to your computer. Unzip the files into your MPLABXProjects folder.
![](GUID-6A2DB22B-B0B3-4158-9F2A-08CDD289C4C5-high.png)