Hi,
I want to write my own library using Visual Studio 2017. Created new project, add class, and
#include <C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\Arduino.h>
#include <C:\Users\myAcc\Documents\Arduino\libraries\FastLED\FastLED.h>
so I can use f.e. String and byte here, also the FastLED stuff, all fine.
Problem ist, as soon as I buld the project, I get lots of errors, f.e.:
c:\users\myAcc\documents\arduino\libraries\fastled\platforms\avr\led_sysdefs_avr.h(12): fatal error C1083: Datei (Include) kann nicht geƶffnet werden: "avr/io.h": No such file or directory
There are ~250 errors.
I assume FastLED also wants to get access to arduino files, and including Arduino.h before FastLED is not sufficient.
Any ideas how to handle this problem?