MatrixMiniR4 1.2.2
Matrix Mini R4 Arduino Library API Documentation
Loading...
Searching...
No Matches
MiniR4I2C.h
Go to the documentation of this file.
1
6
7#ifndef MINIR4I2C_H
8#define MINIR4I2C_H
9
13
17
20
22// #include "Sensors/MiniR4_EIOBoardExt.h"
23
24
33
34template<uint8_t ID, TwoWire* WIRE> class MiniR4I2C
35{
36public:
43 {
44 MXLaser._ch = ID;
45 MXLaserV2._ch = ID;
46 MXColor._ch = ID;
47 MXColorV3._ch = ID;
48 MXGesture._ch = ID;
49 MXCtrl._ch = ID;
50 GroveBME280._ch = ID;
51 HTCol._ch = ID;
52 MXLineTracer._ch = ID;
53
54 MXLaser._pWire = WIRE;
55 MXLaserV2._pWire = WIRE;
56 MXColor._pWire = WIRE;
57 MXColorV3._pWire = WIRE;
58 MXGesture._pWire = WIRE;
59 MXCtrl._pWire = WIRE;
60 GroveBME280._pWire = WIRE;
61 HTCol._pWire = WIRE;
62 MXLineTracer._pWire = WIRE;
63 }
64
74
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.
A library for interfacing with the MATRIX Line Tracer 10CH 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 HiTechnic NXT Color Sensor V2 functions.
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.
A class for MATRIX Line Tracer 10CH sensor.
MatrixGesture MXGesture
Matrix Gesture sensor instance.
Definition MiniR4I2C.h:69
MiniR4I2C()
Constructor initializes the I2C devices with the given ID and wire.
Definition MiniR4I2C.h:42
HTColV2 HTCol
HT Color V2 sensor instance.
Definition MiniR4I2C.h:72
MatrixColor MXColor
Matrix Color sensor instance.
Definition MiniR4I2C.h:67
MatrixLineTracer MXLineTracer
MatrixLineTracer sensor instance.
Definition MiniR4I2C.h:73
MatrixLaser MXLaser
Matrix Laser sensor instance.
Definition MiniR4I2C.h:65
MatrixController MXCtrl
Matrix Controller (HT) instance.
Definition MiniR4I2C.h:70
MatrixColorV3 MXColorV3
Matrix Color sensor V3 instance.
Definition MiniR4I2C.h:68
MatrixLaserV2 MXLaserV2
Matrix Laser V2 ToF sensor instance.
Definition MiniR4I2C.h:66
GroveI2C_BME280 GroveBME280
Grove BME280 sensor instance.
Definition MiniR4I2C.h:71