2023-05-03 04:39 AM
I am using the official ST library from STM32CubeIde and i adapted a custom_ranging_sensor.h to use two sensors. The project builds correctly but when the getdistance returns a (VL53LX_ERROR_CONTROL_INTERFACE) error. But the init and start function executes correctly.
I am using the PB3 and PB4 as XShut of both sensors and PB5 and PB6 as GPIO output for external interruptions