cancel
Showing results for 
Search instead for 
Did you mean: 

Implement problem with the method VL53L1_trace_print_module_function.

UStei
Associate II

Hi

I'm trying to implement the VL53L1X with a TinyK20 freedom board.

I have problem with the method VL53L1_trace_print_module_function. So i don't find this method in a C file, only in a Header(VL53L1X_platform_log.h). Do i have to write a C file for that?

When I compare with the VL53L0X, there is a C file that implement this method(VL53L0x_platform.log.c).

1 REPLY 1
John E KVAM
ST Employee

​Best way to use the VL53L1x in a tiny MCU is to use the new UltraLite Driver for the VL53L1X.

You will still have to implement a printf, if you want prints, but the code is smaller, more straight forward, and much easier to implement. Down-side is it is not as feature rich, but if it works for you it will save a ton of time.

Search for it on the ST web site:

STSW-IMG009

Embedded SoftwareProximity Sensors Software  VL53L1X ULD API (Ultra Lite Driver Application Programming Interface)


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.