![]() |
MatrixMiniR4 1.1.5
Matrix Mini R4 Arduino Library API Documentation
|
A library for interfacing with the MATRIX Laser V2 ToF sensor via I2C. More...
#include <Arduino.h>
#include <Wire.h>
Go to the source code of this file.
Classes | |
class | MatrixLaserV2 |
A class for MATRIX Laser V2 ToF sensor. More... | |
Macros | |
#define | ADDR_PCA954X 0x70 |
#define | ADDRESS_DEFAULT 0b0101001 |
#define | startTimeout() |
#define | checkTimeoutExpired() |
#define | decodeVcselPeriod(reg_val) |
#define | encodeVcselPeriod(period_pclks) |
#define | calcMacroPeriod(vcsel_period_pclks) |
A library for interfacing with the MATRIX Laser V2 ToF sensor via I2C.
This class allows reading distance data from the MXLaserV2 sensor. Based on: https://github.com/pololu/vl53l0x-arduino Add: Merge into MiniR4.I2C instance.
Definition in file MiniR4_MXLaserV2.h.
#define ADDR_PCA954X 0x70 |
Definition at line 21 of file MiniR4_MXLaserV2.h.
#define ADDRESS_DEFAULT 0b0101001 |
Definition at line 28 of file MiniR4_MXLaserV2.h.
#define calcMacroPeriod | ( | vcsel_period_pclks | ) |
Definition at line 48 of file MiniR4_MXLaserV2.h.
#define checkTimeoutExpired | ( | ) |
Definition at line 34 of file MiniR4_MXLaserV2.h.
#define decodeVcselPeriod | ( | reg_val | ) |
Definition at line 39 of file MiniR4_MXLaserV2.h.
#define encodeVcselPeriod | ( | period_pclks | ) |
Definition at line 43 of file MiniR4_MXLaserV2.h.
#define startTimeout | ( | ) |
Definition at line 31 of file MiniR4_MXLaserV2.h.