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