4.2 Task 2: Set up a new project, select and include library, add touch files and ASF driver
files
4.2.1 Introduction
4.2.2 Setting up the code
Atmel AVR8015
10
When a touch to the active sensor is no longer detected, the color of the sensor
will go back to light brown again.
Figure 4-8. Sensor states.
In this task, we will create a new project. We will add the necessary libraries, touch
files and assembler files.
Create a new project.
1. Open Atmel AVR Studio and create a new project. If AVR Studio is already
running, then use File → New → Project.
2. Select project type AVR GCC, select C Executable project from installed
templates and set project name to Task 2. Uncheck create directory, set Location,
and then click Finish, as shown in
Figure
4-9.
32185A-AVR-01/12