Skip to content

Pure MicroPython driver for the VL53L4CD ToF distance sensor. Ported from Adafruit's CircuitPython driver

Notifications You must be signed in to change notification settings

AHSPC/VL53L4CD_micropython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

VL53L4CD

Pure MicroPython driver for the VL53L4CD ToF distance sensor, ported from Adafruit's CircuitPython driver. (Tested on RPi Pico W)

Depends on our port of Adafruit's i2c_device CircuitPython library (i2c_device.py must be in the same directory as vl53l4cd.py).

Example usage is in ./test.py.

An additional get_distance() method is provided to hide the usage of clear_interrupt and waiting for new data in a loop (very specific to AHS Electronics Workshop class). It additionally ignores all OSErrors via try-catch, and calls get_distance() recursively if one is encountered.

About

Pure MicroPython driver for the VL53L4CD ToF distance sensor. Ported from Adafruit's CircuitPython driver

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages