updated Motiondetection in examples

This commit is contained in:
Hans Haupt committed 2024-06-14 08:39:41 +02:00
1 parent a0e6661b16
commit b5fab21a47
4 files changed
+5 -5

No files matched your search

@@ -13,7 +13,7 @@ void loop() {
int zvalue = 0;
for(int i = 0; i<30;i++){
zvalue += dezibot.motionDetection.getAcceleration().z;
zvalue += dezibot.motion.detection.getAcceleration().z;
}
zvalue = zvalue/30;
if(zvalue < -1700){