Names of the examples drawn straight

This commit is contained in:
Prof.J.Wagner
2024-05-14 10:04:37 +02:00
parent b1811bc8a7
commit 292e57032b
3 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,20 @@
#include <Dezibot.h>
Dezibot dezibot = Dezibot();
void setup() {
dezibot.begin();
Serial.begin(9600);
}
void loop() {
Serial.println("bla");
dezibot.motion.move(1000);
dezibot.multiColorLight.setLed(BOTTOM, RED);
delay(2000);
dezibot.motion.rotateAntiClockwise(1000);
dezibot.multiColorLight.setLed(BOTTOM, GREEN);
delay(2000);
dezibot.motion.rotateClockwise(1000);
dezibot.multiColorLight.setLed(BOTTOM, BLUE);
delay(2000);
dezibot.multiColorLight.turnOffLed();
delay(2000);
}