added FIFOdata fetch method

This commit is contained in:
hhaupt
2024-06-13 23:35:17 +02:00
parent d4cb8af3b3
commit 4f308412e4
3 changed files with 7 additions and 27 deletions

View File

@@ -19,37 +19,18 @@
#include "Arduino.h"
#include "Wire.h"
extern static MotionDetection* motionDetectionPTR;
class Dezibot {
protected:
void setIMU(Motion& m){
m.imuInst = motionDetection;
};
public:
Dezibot();
LightDetection lightDetection;
ColorDetection colorDetection;
MultiColorLight multiColorLight;
Motion motion = Motion(motionDetectionPTR);
static MotionDetection motionDetection = *motionDetectionPTR;
Motion motion ;
MotionDetection motionDetection;
void begin(void);
/*
Display display
IRCommuncation irCommuncation (beinhaltet Kommuniaktion / Annhärung...)
Battery battery
Extension extension
WiFi wifi //wie wird WiFi geschrieben?
//nur lesender Zugriff, in dieser Klasse sind andere Instanzen mit dem Dezibotinterface gekapselt
Friends friends
OperatingSystem operatingSystem
USBCommunication usbCommunication
Button button
//nicht unique, initzial Dezibot
String robotName
*/
};
#endif //Dezibot_h