EasyManuals Logo
Home>ST>Control Unit>VL53L1X API

ST VL53L1X API User Manual

ST VL53L1X API
26 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #14 background imageLoading...
Page #14 background image
6 Reducing the driver size to its absolute minimum
Although ST have attempted to create a small driver, it might not be small enough for some applications. To
create the smallest possible driver, try the following approach:
Use the current driver and configure the parameters as required. Start ranging (to show that it works).
When satisfied that ranging works, dump the contents of the sensor from the location 0x2D through to 0x87.
Replace the default register settings in the the array VL51L1X_DEFAULT_CONFIGURATION[] which is
located in the file VL53L1X_api.c.
This makes your settings the default settings
Your main routine then needs only to call the the VL53L1X_SensorInit() function and
VL53L1X_StartRanging().
Most other functions can then be removed
UM2510
Reducing the driver size to its absolute minimum
UM2510 - Rev 1
page 14/26

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST VL53L1X API and is the answer not in the manual?

ST VL53L1X API Specifications

General IconGeneral
BrandST
ModelVL53L1X API
CategoryControl Unit
LanguageEnglish

Related product manuals