I bought this sensor:
SparkFun Ambient Light Sensor - VEML6030 (Qwiic) SEN-15436
but getting the following compiler errors: I tried it with both a win7 and win10 machine using a UNO board
thanks
In file included from C:\Users\xxxxxxx\Documents\Arduino\libraries\SparkFun_Ambient_Light_Sensor_Arduino_Library\src\SparkFun_VEML6030_Ambient_Light_Sensor.h:4:0,
from C:\Users\xxxxxxx\Documents\Arduino\libraries\SparkFun_Ambient_Light_Sensor_Arduino_Library\src\SparkFun_VEML6030_Ambient_Light_Sensor.cpp:11:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src/Wire.h: In member function ‘uint16_t SparkFun_Ambient_Light::_readRegister(uint8_t)’:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src/Wire.h:64:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int)
uint8_t requestFrom(int, int);
^
C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src/Wire.h:61:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)
uint8_t requestFrom(uint8_t, uint8_t);
^
Sketch uses 7728 bytes (3%) of program storage space. Maximum is 253952 bytes.
Global variables use 651 bytes (7%) of dynamic memory, leaving 7541 bytes for local variables. Maximum is 8192 bytes.