VL53L5CX Set Frequency

Materials

Example

Introduction

This example shows how to use the SparkFun VL53L5CX Time-of-Flight sensor on AMB82 Mini and how to increase output frequency.

Procedure

Connect the VL53L5CX to I2C_SDA and I2C_SCL of the board as shown in the diagram below.

../../../_images/image0140.png

Open the example in “File” -> “Examples” -> “AmebaWire” -> “VL53L5CX” -> “SetFrequency”.

../../../_images/image0240.png

The frequency can be modified in the highlighted code.

../../../_images/image0337.png

Compile and run the example.

You should be able to see the 8x8 distance array printed in the Serial Monitor.

../../../_images/image0414.png