The extracted version would not verify without errors without adding the following line of code :
Code: Select all
#include <Wire.h>
Code: Select all
#include “Adafruit_Adafruit_APDS9960.h”
————
With this addition everything works fine.
( maybe it is because I am using the older arduino IDE 1.6.4? ).
Anyway I thought others may find it useful to know this as well
-I was going to include a screenshot but did not seem to be able to do this from my iPhone but I think you should be able to figure it out from my above description.