2Dezibot dezibot = Dezibot();
4 // put your setup code here, to run once:
11 // put your main code here, to run repeatedly:
15 for(int i = 0; i<30;i++){
16 zvalue += dezibot.motion.detection.getAcceleration().z;
20 dezibot.multiColorLight.setLed(ALL,0x00FF00);
21 } else if(zvalue > 1700){
22 dezibot.multiColorLight.setLed(ALL,0xFF0000);
24 dezibot.multiColorLight.turnOffLed();