vl53l1x-st-api-arduino
vl53l1x-st-api-arduino copied to clipboard
Modify so the device results level can be set by the user
This code modifies the following functions to have a new input argument which allows the user to set the device results level, this was previously hard coded to VL53L1_DEVICERESULTSLEVEL_FULL.
- VL53L1_GetRangingMeasurementData
- VL53L1_PerformSingleTargetXTalkCalibration
- VL53L1_PerformOffsetSimpleCalibration
(This issue was found while implementing this arduino code with a VL53L1X carrier board, with the device results level set to full resulted in an error code of -13, but reducing it to system or core allowed it to work)