Dezibot 4
Loading...
Searching...
No Matches
motion_indicating.ino
Go to the documentation of this file.
1#include <Dezibot.h>
2Dezibot dezibot = Dezibot();
3void setup() {
4 dezibot.begin();
5<<<<<<< HEAD:example/motion_indicating/motion_indicating.ino
6=======
7 Serial.begin(115200);
8>>>>>>> remotes/origin/feature/#9-display:example/motion/motion.ino
9}
10void loop() {
11 dezibot.motion.move(1000);
12 dezibot.multiColorLight.setLed(BOTTOM, RED);
13 delay(2000);
14 dezibot.motion.rotateAntiClockwise(1000);
15 dezibot.multiColorLight.setLed(BOTTOM, GREEN);
16 delay(2000);
17 dezibot.motion.rotateClockwise(1000);
18 dezibot.multiColorLight.setLed(BOTTOM, BLUE);
19 delay(2000);
20 dezibot.multiColorLight.turnOffLed();
21 delay(2000);
22}