Creating a New Project
If you are using Microsoft Visual Studio
The following text shows you how to create a new project in Visual
In Visual Studio, click File > New > Project > Other
Languages > Visual C++ > Arduino Project
Enter a name for your project and click OK
An empty project is now set up. Your screen should look like this:
Now you can start editing your code. A setup() and loop() function
are already created for you.
File > New > Arduino Project
is available in all IDEs and creates projects in the Arduino sketch book
It does not add to the project to the "File>Recent Projects and
Continue by Setting up your board model and connection.
If you are using Atmel Studio
You can use the same approach as described above.
However, it is recommended to use Atmel Studio's project templates.
Select an Arduino template from the Project Wizard.
Only use Arduino templates from the "C/C++" node or from
the "Visual Micro" node. Do not use a template from the "Arduino-Boards" node!
Adding your own templates
This article on visualmicro.com show you how to add your own templates in