4Dezibot dezibot = Dezibot();
8 dezibot.communication.begin();
9 dezibot.communication.setGroupNumber(5);
13 switch (dezibot.motion.detection.getTiltDirection()) {
15 dezibot.multiColorLight.setTopLeds(GREEN);
16 dezibot.communication.sendMessage("vorn");
19 dezibot.multiColorLight.setTopLeds(YELLOW);
20 dezibot.communication.sendMessage("links");
23 dezibot.multiColorLight.setTopLeds(TURQUOISE);
24 dezibot.communication.sendMessage("rechts");
27 dezibot.multiColorLight.setTopLeds(BLUE);
28 dezibot.communication.sendMessage("stop");
31 dezibot.multiColorLight.setTopLeds(PINK);
32 dezibot.communication.sendMessage("stop");
35 dezibot.multiColorLight.turnOffLed();
36 dezibot.communication.sendMessage("stop");
40 dezibot.multiColorLight.setTopLeds(RED);
41 dezibot.communication.sendMessage("stop");