mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-07-04 17:51:41 +02:00
Merged MotionCorrection into Release (including InterfaceChange from motionDetection to motion.detection
This commit is contained in:
@ -3,8 +3,8 @@ Dezibot dezibot;
|
||||
void setup() {
|
||||
|
||||
dezibot.begin();
|
||||
dezibot.motionDetection.begin();
|
||||
//dezibot.motionDetection.end();
|
||||
dezibot.motion.detection.begin();
|
||||
//dezibot.motion.detection.end();
|
||||
// put your setup code here, to run once:
|
||||
Serial.begin(115200);
|
||||
}
|
||||
@ -12,9 +12,9 @@ void setup() {
|
||||
void loop() {
|
||||
// put your main code here, to run repeatedly:
|
||||
|
||||
//Serial.println(dezibot.motionDetection.getTemperature());
|
||||
Serial.println(dezibot.motionDetection.getAcceleration().z);
|
||||
//Serial.println(dezibot.motionDetection.getRotation().x);
|
||||
Serial.println(dezibot.motionDetection.getWhoAmI());
|
||||
//Serial.println(dezibot.motion.detection.getTemperature());
|
||||
Serial.println(dezibot.motion.detection.getAcceleration().z);
|
||||
//Serial.println(dezibot.motion.detection.getRotation().x);
|
||||
Serial.println(dezibot.motion.detection.getWhoAmI());
|
||||
delay(5000);
|
||||
}
|
||||
|
Reference in New Issue
Block a user