Dezibot 4
Detection_Print.ino
Go to the documentation of this file.
1 #include "Dezibot.h"
2 Dezibot dezibot;
3 void setup() {
4 
5  dezibot.begin();
6  dezibot.motion.detection.begin();
7  //dezibot.motion.detection.end();
8  // put your setup code here, to run once:
9  Serial.begin(115200);
10 }
11 
12 void loop() {
13  // put your main code here, to run repeatedly:
14 
15  //Serial.println(dezibot.motion.detection.getTemperature());
16  Serial.println(dezibot.motion.detection.getAcceleration().z);
17  //Serial.println(dezibot.motion.detection.getRotation().x);
18  Serial.println(dezibot.motion.detection.getWhoAmI());
19  delay(5000);
20 }