2. Creating an Example Application in Atmel Studio
1. After connecting the board, to create a new project in Atmel Studio go to File → New and click on
Project (as shown in Figure 2-1 Creating New Project in Atmel Studio on page 11).
Figure 2-1 Creating New Project in Atmel Studio
2. The New Project wizard will display as shown in Figure 2-2 New Project Wizard on page 11.
Select the GCC C executable Project template, name the project and click OK to get the device
selection wizard.
Figure 2-2 New Project Wizard
3. The Device Selection wizard will display as shown in Figure 2-3 Device Selection Wizard on page
11. Select the ATmega328PB device from megaAVR
®
device family and click OK.
Figure 2-3 Device Selection Wizard
4. The new project and the .c file will be created as shown in Figure 2-4 Project Window on page
12.
Atmel AT08401: Getting Started with Atmel ATmega328PB [APPLICATION NOTE]
Atmel-42482A-Getting-Started-with-ATmega328PB_AT08401_Application Note-08/2015
11