MatrixMiniR4 1.1.5
Matrix Mini R4 Arduino Library API Documentation
Loading...
Searching...
No Matches
MiniR4I2C.h
Go to the documentation of this file.
1
7#ifndef MINIR4I2C_H
8#define MINIR4I2C_H
9
13
17
18
20// #include "Sensors/MiniR4_EIOBoardExt.h"
21
22
32template<uint8_t ID, TwoWire* WIRE> class MiniR4I2C
33{
34public:
41 {
42 // MXMotion._ch = ID;
43 MXLaser._ch = ID;
44 MXLaserV2._ch = ID;
45 MXColor._ch = ID;
46 MXColorV3._ch = ID;
47 MXGesture._ch = ID;
48 MXCtrl._ch = ID;
49 GroveBME280._ch = ID;
50 // EIOBoard._ch = ID;
51
52 // MXMotion._pWire = WIRE; ///< Matrix Motion sensor
53 MXLaser._pWire = WIRE;
54 MXLaserV2._pWire = WIRE;
55 MXColor._pWire = WIRE;
56 MXColorV3._pWire = WIRE;
57 MXGesture._pWire = WIRE;
58 MXCtrl._pWire = WIRE;
59 GroveBME280._pWire = WIRE;
60 // EIOBoard._pWire = WIRE; ///< Matrix EIOBoard
61 }
62
63 // MatrixMotion MXMotion; ///< Matrix Motion sensor instance.
71 // MatrixEIOBoard EIOBoard; ///< Matrix EIOBoard instance.
72
73 // Adafruit_TCS34725 MXColor = Adafruit_TCS34725(
74 // TCS34725_INTEGRATIONTIME_50MS, TCS34725_GAIN_4X, TCS34725_ADDRESS, WIRE, ID);
75
76private:
77};
78
79#endif // MINIR4I2C_H
A library for interfacing with the BME280 sensor via I2C.
A library for interfacing with the MATRIX Color Seneor V3 sensor (TCS34725) via I2C.
A library for interfacing with the MATRIX Gesture Seneor PAJ7620 via I2C.
A library for interfacing with the MATRIX Laser V2 ToF sensor via I2C.
Matric Color Sensor functions.
Handling MiniR4.I2Cn Matrix Laser Sensor functions.
Handling Matrix Controller (HT) functions.
A class for interfacing with the BME280 sensor.
Class for interacting with a color sensor.
A class for MATRIX Color Seneor V3 sensor.
Class for controlling motors and servos in the Matrix Controller (HT).
A class for MATRIX Gesture Seneor.
Class for interfacing with a laser distance sensor.
A class for MATRIX Laser V2 ToF sensor.
Template class for managing I2C devices.
Definition MiniR4I2C.h:33
MatrixGesture MXGesture
Matrix Gesture sensor instance.
Definition MiniR4I2C.h:68
MiniR4I2C()
Constructor initializes the I2C devices with the given ID and wire.
Definition MiniR4I2C.h:40
MatrixColor MXColor
Matrix Color sensor instance.
Definition MiniR4I2C.h:66
MatrixLaser MXLaser
Matrix Laser sensor instance.
Definition MiniR4I2C.h:64
MatrixController MXCtrl
Matrix Controller (HT) instance.
Definition MiniR4I2C.h:69
MatrixColorV3 MXColorV3
Matrix Color sensor V3 instance.
Definition MiniR4I2C.h:67
MatrixLaserV2 MXLaserV2
Matrix Laser V2 ToF sensor instance.
Definition MiniR4I2C.h:65
GroveI2C_BME280 GroveBME280
Grove BME280 sensor instance.
Definition MiniR4I2C.h:70