wip: add reference to motionDetection to motion
This commit is contained in:
@@ -18,21 +18,21 @@
|
||||
#include "motionDetection/MotionDetection.h"
|
||||
#include "Arduino.h"
|
||||
#include "Wire.h"
|
||||
#include "Adafruit_SSD1306.h"
|
||||
|
||||
extern static MotionDetection* motionDetectionPTR;
|
||||
|
||||
class Dezibot {
|
||||
protected:
|
||||
|
||||
void setIMU(Motion& m){
|
||||
m.imuInst = motionDetection;
|
||||
};
|
||||
public:
|
||||
Dezibot();
|
||||
Motion motion;
|
||||
LightDetection lightDetection;
|
||||
ColorDetection colorDetection;
|
||||
MultiColorLight multiColorLight;
|
||||
MotionDetection motionDetection;
|
||||
//temporary, display component is not implemented yet
|
||||
Adafruit_SSD1306 display;
|
||||
|
||||
Motion motion = Motion(motionDetectionPTR);
|
||||
static MotionDetection motionDetection = *motionDetectionPTR;
|
||||
void begin(void);
|
||||
/*
|
||||
Display display
|
||||
|
||||
Reference in New Issue
Block a user