Hi
I have purchased the above and wired it up and downloaded the library. (I have done this before...and am reasonably OK) I am certainly a newbie but this is quite simple.
I renamed the library and removed 'master' from it.
The VL6180X shows up under examples. I try the test sketch and when I verify I get in red:
In file included from C:\Users\John\Documents\Arduino\libraries\Adafruit_VL6180X\examples\vl6180x\vl6180x.ino:2:0:
C:\Users\John\Documents\Arduino\libraries\Adafruit_VL6180X/Adafruit_VL6180X.h:39:0: warning: "VL6180X_REG_SYSALS_ANALOGUE_GAIN" redefined
#define VL6180X_REG_SYSALS_ANALOGUE_GAIN 0x03f
^
C:\Users\John\Documents\Arduino\libraries\Adafruit_VL6180X/Adafruit_VL6180X.h:34:0: note: this is the location of the previous definition
#define VL6180X_REG_SYSALS_ANALOGUE_GAIN 0x03F
^
In file included from C:\Users\John\Documents\Arduino\libraries\Adafruit_VL6180X\Adafruit_VL6180X.cpp:22:0:
C:\Users\John\Documents\Arduino\libraries\Adafruit_VL6180X\Adafruit_VL6180X.h:39:0: warning: "VL6180X_REG_SYSALS_ANALOGUE_GAIN" redefined
#define VL6180X_REG_SYSALS_ANALOGUE_GAIN 0x03f
^
C:\Users\John\Documents\Arduino\libraries\Adafruit_VL6180X\Adafruit_VL6180X.h:34:0: note: this is the location of the previous definition
#define VL6180X_REG_SYSALS_ANALOGUE_GAIN 0x03F
The problem must be obvious but a bit too obvious for me. Can anyone help?
John