pololu / vl53l0x-arduino

Pololu Arduino library for VL53L0X time-of-flight distance sensor
https://www.pololu.com/product/2490
Other
345 stars 163 forks source link

Functionality as a submodule #36

Closed PeterChmurciak closed 4 years ago

PeterChmurciak commented 5 years ago

When using your library as a git submodule (library not included inside Arduino libraries folder), Arduino IDE compiler throws an error VL53L0X.h: No such file or directory. This is caused by the way the compiler looks for VL53L0X.h file when included by #include <VL53L0X.h>. This error can be solved by including the file with #include "VL53L0X.h" instead. This makes it work as it should because both files are in the same directory, and it does not compromise any other library functionalities. Please consider this pull request as this change is necessary for your library to be used as a submodule. Thank you.

gergelytakacs commented 5 years ago

@kevin-pololu and Polulu guys, also you CI seems to be failing, this is not the fault of the base code.