2Dezibot dezibot = Dezibot();
4 // put your setup code here, to run once:
11//https://esp32cube.com/basis/032_millis/
15 // put your main code here, to run repeatedly:
20 for(int i = 0; i<30;i++){
21 zvalue += dezibot.motion.detection.getAcceleration().z;
26 dezibot.multiColorLight.setLed(ALL,0x004000);
27 Serial.println("AAA");
28 } else if(zvalue > 1700){
29 dezibot.multiColorLight.setLed(ALL,0x400000);
31 dezibot.multiColorLight.turnOffLed();