16#include "vl53l0x-arduino/VL53L0X.h"
50 static const uint8_t DEFAULT_I2C_ADDRESS;
55 static const uint32_t I2C_FREQ;
107 bool begin (
const uint8_t new_i2c_address);
Uts_togglable()
Constructor for a togglable ultrasonic sensor driver.
Vl53l0x(const uint32_t init_port)
Creates a Vl53l0x object.
uint16_t read_dist_mm()
Reads the distance between this VL53L0X sensor and the obstacle in front of it.
bool begin()
Activates this VL53L0X sensor.
~Vl53l0x()
Destroys this object and releases the occupied resources.
void enable()
Re-enables this VL53L0X sensor.
void disable()
Teporarily disables this VL53L0X sensor.
bool begin(const uint8_t new_i2c_address)
Activates this VL53L0X sensor with another I2C address.
void re_address_device(const uint8_t new_i2c_address)
Changes the I2C address of this VL53L0X sensor.