Skip to main content
Visitor II
November 14, 2018
Question

Implement problem with the method VL53L1_trace_print_module_function.

  • November 14, 2018
  • 1 reply
  • 565 views

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).

    This topic has been closed for replies.

    1 reply

    ST Employee
    April 10, 2019

    ​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)