In Atmel Studio 6.2, how do I import libraries such as softwareserial?
I am struggling to figure this out. When I add the SoftwareSerial.h to my library folder, I get the below error:
In Atmel Studio 6.2, how do I import libraries such as softwareserial?
I am struggling to figure this out. When I add the SoftwareSerial.h to my library folder, I get the below error:
You need the Arduino library support for that. I think the favoured option for adding that to a plain C++ project in Studio these days is the "visual micro" extension. See:
http://www.visualmicro.com/page/...
(the old way was simply to get Arduino to build libcore.a then link against that but "Visiual Micro" is a cleaner solution)
Thanks - I have Visual Micro installed, but it seems in order to use the libraries, I need to create a Visual Micro Sketch (.ino). I did find a nice solution, which shows how to import the Arduino core library. It also, works well for adding my own header files.