I'm trying to port an Arduino IDE project to Atmel Studio (I have Arduino IDE 1.6.8 and Atmel Studio 7). I've used the Atmel Studio wizard for importing an Arduino Sketch, which has imported my project successfully and set up a project for the ArduinoCore library, but I now have two problems:
- My code contains
#include <Wire.h>
, but the compiler is complaining it cannot find it, and - I'm using a third-party library (fmalpartida's I2C LCD display module library), and it isn't 100% clear how to import it into the project structure.
How do I go about setting up the environment to make both of these work?
Atmel's web site suggests this should be automatic ("Your sketch, including any libraries it references, will be imported into Studio 7 as a C++ project") -- why would this have failed to happen for mine?