pololu / vl53l0x-arduino

Pololu Arduino library for VL53L0X time-of-flight distance sensor
https://www.pololu.com/product/2490
Other
345 stars 163 forks source link

Added non-blocking readRangeNoBlocking function to read the range sen… #46

Open jjsch-dev opened 4 years ago

jjsch-dev commented 4 years ago

…sor.

Added non-blocking readRangeNoBlocking function to read the range sensor. Useful with arduino. Returns true when reading ends. The value is passed as a reference, and to maintain compatibility with the blocking version it is set to 65535 when the time expires.