2018-11-14 06:50 AM
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).
2019-04-10 01:48 PM
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:
Embedded SoftwareProximity Sensors Software VL53L1X ULD API (Ultra Lite Driver Application Programming Interface)