MatrixMiniR4 1.1.4
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

MatrixMotion MXMotion
 Matrix Motion sensor instance.
 
MatrixLaser MXLaser
 Matrix Laser sensor instance.
 
MatrixColor MXColor
 Matrix Color 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 26 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 Motion sensor

< Matrix Laser sensor

< Matrix Color sensor

< Matrix Controller (HT)

< Grove BME280 sensor

Definition at line 34 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 53 of file MiniR4I2C.h.

◆ MXColor

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

Matrix Color sensor instance.

Definition at line 51 of file MiniR4I2C.h.

◆ MXCtrl

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

Matrix Controller (HT) instance.

Definition at line 52 of file MiniR4I2C.h.

◆ MXLaser

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

Matrix Laser sensor instance.

Definition at line 50 of file MiniR4I2C.h.

◆ MXMotion

template<uint8_t ID, TwoWire * WIRE>
MatrixMotion MiniR4I2C< ID, WIRE >::MXMotion

Matrix Motion sensor instance.

Definition at line 49 of file MiniR4I2C.h.


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