Link: https://github.com/sparkfun/SparkFun_APDS-9960_Sensor_Arduino_Library
Issue 1: Arduino.h: No such file or directory
Fix: added an “Arduino.h” in the lib/src
The content is simply:
#include "Particle.h"
Issue 2: library is using #include <Arduino.h>
Fix: change to #include "Arduino.h"
instead
Issue 3: conflicting ERROR
and DEBUG
The library is using the same #defines in the firmware
#define DEBUG 0
#define ERROR 0xFF
Status:
- code is not compiling with the changes above