I believe it should also compile cleanly for the Itsy Bitsy 32u4 5V board, but when I first open the file and compile it, it get the following error (in red):
Code: Select all
In file included from I:\Arduino\Sketchbook\libraries\VL53L1X_ULD\src\platform\VL53L1X_i2ccoms.h:11:0,
from I:\Arduino\Sketchbook\libraries\VL53L1X_ULD\src\platform\VL53L1X_i2ccoms.cpp:1:
C:\Users\Guy\AppData\Local\Arduino15\packages\adafruit\hardware\avr\1.4.15\libraries\Wire/Wire.h: In function 'int8_t i2c_read_multi(uint8_t, uint16_t, uint8_t*, uint32_t)':
C:\Users\Guy\AppData\Local\Arduino15\packages\adafruit\hardware\avr\1.4.15\libraries\Wire/Wire.h:69:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int)
uint8_t requestFrom(int, int);
^~~~~~~~~~~
C:\Users\Guy\AppData\Local\Arduino15\packages\adafruit\hardware\avr\1.4.15\libraries\Wire/Wire.h:67:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)
uint8_t requestFrom(uint8_t, uint8_t);
Code: Select all
Sketch uses 23924 bytes (83%) of program storage space. Maximum is 28672 bytes.
Global variables use 2552 bytes of dynamic memory.
^~~~~~~~~~~
The VL53L1X_ULD library is for the VL53L1X sensor, which calls the Wire library from the Arduino15 packages.
I don't understand if this is an error, or a warning of some kind. I would ignore it ( :) ) except that the program doesn't run on the Itsy Bitsy 32u4 board - it locks it up - but I don't know if the message is a relevant factor or not.
Any pointers to help resolve this would be appreciated.