wip: add reference to motionDetection to motion

This commit is contained in:
Hans Haupt
2024-06-13 17:20:22 +02:00
parent 841202897b
commit d4cb8af3b3
6 changed files with 98 additions and 24 deletions

View File

@@ -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