![]() |
MatrixMiniR4 1.1.4
Matrix Mini R4 Arduino Library API Documentation
|
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. | |
Template class for managing I2C devices.
This class handles multiple I2C devices associated with the same ID.
ID | Unique identifier for the I2C devices. |
WIRE | Pointer to the TwoWire object for I2C communication. |
Definition at line 26 of file MiniR4I2C.h.
|
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.
GroveI2C_BME280 MiniR4I2C< ID, WIRE >::GroveBME280 |
Grove BME280 sensor instance.
Definition at line 53 of file MiniR4I2C.h.
MatrixColor MiniR4I2C< ID, WIRE >::MXColor |
Matrix Color sensor instance.
Definition at line 51 of file MiniR4I2C.h.
MatrixController MiniR4I2C< ID, WIRE >::MXCtrl |
Matrix Controller (HT) instance.
Definition at line 52 of file MiniR4I2C.h.
MatrixLaser MiniR4I2C< ID, WIRE >::MXLaser |
Matrix Laser sensor instance.
Definition at line 50 of file MiniR4I2C.h.
MatrixMotion MiniR4I2C< ID, WIRE >::MXMotion |
Matrix Motion sensor instance.
Definition at line 49 of file MiniR4I2C.h.