adafruit / Adafruit_VL53L0X

Arduino library for Adafruit VL53L0X
149 stars 118 forks source link

Add continuous example #54

Closed caternuson closed 2 years ago

caternuson commented 2 years ago

As requested in #13. Not sure if "continuous" just means printing values in a loop, which current example already does, or actually using the continuous mode of the VL53L0X.

This PR adds a basic example of using continuous mode. Looks like there might be various ways it could be done, based on API layout. But this is a simple looping example.

Screenshot from 2022-03-15 11-41-05

ladyada commented 2 years ago

i think this is the way to do it