An imperfect micro python library for you to drive ST vl53l0x tof ranging and gesture detection sensor ,works fine on raspberry pi pico. main.py is a demo to show you how to use it. vl53l0x.py is the library for you to use in your project.
This code is transplant from an Ardunio project, original code by Ted Meyers: https://groups.google.com/d/msg/diyrovers/lc7NUZYuJOg/ICPrYNJGBgAJ If there is any copyright problem, please contact me to delete it, sorry for that. It's not perfect, you can't know whether it's reaching the max detection range, and I don't know how to improve:( If you got any progress, you are welcomed to fork this project.