first working example of IMU Based Motioncorrection
This commit is contained in:
@@ -12,11 +12,15 @@
|
||||
|
||||
#include "Dezibot.h"
|
||||
|
||||
Dezibot::Dezibot():multiColorLight(),motionDetection(){
|
||||
Dezibot::Dezibot():multiColorLight(),motionDetection(),display(128, 64, &Wire, -1){
|
||||
|
||||
};
|
||||
void Dezibot::begin(void) {
|
||||
motion.begin();
|
||||
multiColorLight.begin();
|
||||
motionDetection.begin();
|
||||
Wire.begin(1,2);
|
||||
display.begin(SSD1306_SWITCHCAPVCC,0x3C);
|
||||
display.clearDisplay();
|
||||
display.display();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user