Adafruit_VL53L0X
Adafruit_VL53L0X copied to clipboard
Arduino library for Adafruit VL53L0X
The interrupt example doesn't work. The interrupt is simply ignored. I.e. the distance is displayed although only the range of 50-100mm should be displayed.
**Expected behaviour** Building with USE_EMPTY_STRING defined reduces memory usage on memory constrained environments such as Arduino Nano. **Actual behaviour** Sketch fails to build due to several missing constants, eg: `VL53L0X_STRING_ERROR_INTERRUPT_NOT_CLEARED`...
I use example code and everything works fine, but when I put the sensor without a barrier or to get out of range, the output from Arduino Serial Monitoring sometime...
I improved the library regarding following points: - Fix a possible undefined read error in VL53L0X_CheckAndLoadInterruptSettings(). - Clean library from compiler warnings by removing unused variables. - Add Adafruit_VL53L0X::printPalErrorString() to...