Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 6 months ago.
VL530L0X
Hi Im pretty new to this. I'm trying to use the Arduino VL530L0X ToF sensor with a stm32 nucleo f401re board. I tried using the ST API provided for the sensor, but i seem to be having trouble on getting it to work. I used the Single Ranging Example provided, but keep getting these errors. Call of VL53L0X_DataInit 0 API Status: -20 : Control Interface Error Call of VL53L0X_StaticInit API Status: -20 : Control Interface Error
I changed the I2c values in the i2c_platform file /media/uploads/damdam95/main.cpp I was wondering if I missed anything as for the wiring i just connected Vin to the 3.3 V pin and both the SDA and SCL pins to Pins D14,D15 of the board. Any help would be greatly appreciated!