VL53L0X (VL53L0X v0.1.0) View Source

A library to interface with the VL53L0X time-of-flight laser sensor.

Link to this section Summary

Link to this section Types

Specs

t() :: %VL53L0X{
  bus: Circuits.I2C.bus(),
  device: Circuits.I2C.address(),
  stop_variable: 0..255
}

Link to this section Functions

Link to this function

get_measurement_timing_budget(ref)

View Source
Link to this function

get_spad_info(v_l53_l0_x)

View Source

Specs

init(t()) :: {:ok, t()} | {:error, term()}
Link to this function

open(bus_name, address \\ 41)

View Source
Link to this function

perform_single_ref_calibration(v_l53_l0_x, vhv_init_byte)

View Source
Link to this function

read_multi(bus, device, address, num_reg)

View Source
Link to this function

readu8(bus, device, address)

View Source
Link to this function

set_measurement_timing_budget(ref, budget_us)

View Source
Link to this function

set_signal_rate_limit(v_l53_l0_x, limit_mcps)

View Source
Link to this function

write_multi(bus, device, address, data)

View Source