vl53l1x-st-api-arduino icon indicating copy to clipboard operation
vl53l1x-st-api-arduino copied to clipboard

Modify so the device results level can be set by the user

Open rebeccaRossRobotics opened this issue 3 years ago • 0 comments

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)

rebeccaRossRobotics avatar Nov 15 '21 14:11 rebeccaRossRobotics