MatrixMiniR4 1.1.5
Matrix Mini R4 Arduino Library API Documentation
Loading...
Searching...
No Matches
MiniR4I2C< ID, WIRE > Class Template Reference

Template class for managing I2C devices. More...

#include <MiniR4I2C.h>

Public Member Functions

 MiniR4I2C ()
 Constructor initializes the I2C devices with the given ID and wire.
 

Public Attributes

MatrixLaser MXLaser
 Matrix Laser sensor instance.
 
MatrixLaserV2 MXLaserV2
 Matrix Laser V2 ToF sensor instance.
 
MatrixColor MXColor
 Matrix Color sensor instance.
 
MatrixColorV3 MXColorV3
 Matrix Color sensor V3 instance.
 
MatrixGesture MXGesture
 Matrix Gesture sensor instance.
 
MatrixController MXCtrl
 Matrix Controller (HT) instance.
 
GroveI2C_BME280 GroveBME280
 Grove BME280 sensor instance.
 

Detailed Description

template<uint8_t ID, TwoWire * WIRE>
class MiniR4I2C< ID, WIRE >

Template class for managing I2C devices.

This class handles multiple I2C devices associated with the same ID.

Template Parameters
IDUnique identifier for the I2C devices.
WIREPointer to the TwoWire object for I2C communication.

Definition at line 32 of file MiniR4I2C.h.

Constructor & Destructor Documentation

◆ MiniR4I2C()

template<uint8_t ID, TwoWire * WIRE>
MiniR4I2C< ID, WIRE >::MiniR4I2C ( )
inline

Constructor initializes the I2C devices with the given ID and wire.

This constructor sets the channel and wire for all associated devices.

< Matrix Laser sensor

< Matrix Laser V2 ToF sensor

< Matrix Color sensor

< Matrix Color sensor V3

< Matrix Gesture sensor

< Matrix Controller (HT)

< Grove BME280 sensor

Definition at line 40 of file MiniR4I2C.h.

Member Data Documentation

◆ GroveBME280

template<uint8_t ID, TwoWire * WIRE>
GroveI2C_BME280 MiniR4I2C< ID, WIRE >::GroveBME280

Grove BME280 sensor instance.

Definition at line 70 of file MiniR4I2C.h.

◆ MXColor

template<uint8_t ID, TwoWire * WIRE>
MatrixColor MiniR4I2C< ID, WIRE >::MXColor

Matrix Color sensor instance.

Definition at line 66 of file MiniR4I2C.h.

◆ MXColorV3

template<uint8_t ID, TwoWire * WIRE>
MatrixColorV3 MiniR4I2C< ID, WIRE >::MXColorV3

Matrix Color sensor V3 instance.

Definition at line 67 of file MiniR4I2C.h.

◆ MXCtrl

template<uint8_t ID, TwoWire * WIRE>
MatrixController MiniR4I2C< ID, WIRE >::MXCtrl

Matrix Controller (HT) instance.

Definition at line 69 of file MiniR4I2C.h.

◆ MXGesture

template<uint8_t ID, TwoWire * WIRE>
MatrixGesture MiniR4I2C< ID, WIRE >::MXGesture

Matrix Gesture sensor instance.

Definition at line 68 of file MiniR4I2C.h.

◆ MXLaser

template<uint8_t ID, TwoWire * WIRE>
MatrixLaser MiniR4I2C< ID, WIRE >::MXLaser

Matrix Laser sensor instance.

Definition at line 64 of file MiniR4I2C.h.

◆ MXLaserV2

template<uint8_t ID, TwoWire * WIRE>
MatrixLaserV2 MiniR4I2C< ID, WIRE >::MXLaserV2

Matrix Laser V2 ToF sensor instance.

Definition at line 65 of file MiniR4I2C.h.


The documentation for this class was generated from the following file: